mirror of
https://github.com/kremalicious/umami.git
synced 2025-01-13 06:34:52 +01:00
18 lines
483 B
MySQL
18 lines
483 B
MySQL
|
-- DropForeignKey
|
||
|
ALTER TABLE "team_user" DROP CONSTRAINT "team_user_team_id_fkey";
|
||
|
|
||
|
-- DropForeignKey
|
||
|
ALTER TABLE "team_user" DROP CONSTRAINT "team_user_user_id_fkey";
|
||
|
|
||
|
-- DropForeignKey
|
||
|
ALTER TABLE "website" DROP CONSTRAINT "website_team_id_fkey";
|
||
|
|
||
|
-- DropForeignKey
|
||
|
ALTER TABLE "website" DROP CONSTRAINT "website_user_id_fkey";
|
||
|
|
||
|
-- CreateIndex
|
||
|
CREATE INDEX "website_team_id_idx" ON "website"("team_id");
|
||
|
|
||
|
-- CreateIndex
|
||
|
CREATE INDEX "website_user_id_idx" ON "website"("user_id");
|