mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
22 lines
542 B
SQL
22 lines
542 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the `team_website` table. If the table is not empty, all the data it contains will be lost.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "team" ADD COLUMN "deleted_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,
|
|
ADD COLUMN "logo_url" VARCHAR(2183);
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "user" ADD COLUMN "logo_url" VARCHAR(2183);
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "website" ADD COLUMN "team_id" UUID;
|
|
|
|
-- DropTable
|
|
DROP TABLE "team_website";
|
|
|
|
-- CreateIndex
|
|
CREATE INDEX "website_team_id_idx" ON "website"("team_id");
|