Fix MySQL migration 4.

This commit is contained in:
Maxime-J 2024-02-15 10:59:11 +00:00
parent b81f5112bc
commit 5fc3d81c39
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ ALTER TABLE `website` ADD COLUMN `created_by` VARCHAR(36) NULL,
ADD COLUMN `team_id` VARCHAR(36) NULL;
-- MigrateData
UPDATE "website" SET created_by = user_id WHERE team_id IS NULL;
UPDATE `website` SET created_by = user_id WHERE team_id IS NULL;
-- DropTable
DROP TABLE `team_website`;