2024-01-16 21:32:27 +01:00
|
|
|
/*
|
|
|
|
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
|
2024-02-05 20:47:12 +01:00
|
|
|
ALTER TABLE `team` ADD COLUMN `deleted_at` TIMESTAMP(0) NULL,
|
|
|
|
ADD COLUMN `logo_url` VARCHAR(2183) NULL;
|
2024-01-16 21:32:27 +01:00
|
|
|
|
|
|
|
-- AlterTable
|
2024-02-05 20:47:12 +01:00
|
|
|
ALTER TABLE `user` ADD COLUMN `display_name` VARCHAR(255) NULL,
|
|
|
|
ADD COLUMN `logo_url` VARCHAR(2183) NULL;
|
|
|
|
|
|
|
|
-- AlterTable
|
|
|
|
ALTER TABLE `website` ADD COLUMN `created_by` VARCHAR(36) NULL,
|
|
|
|
ADD COLUMN `team_id` VARCHAR(36) NULL;
|
2024-01-16 21:32:27 +01:00
|
|
|
|
|
|
|
-- DropTable
|
|
|
|
DROP TABLE `team_website`;
|
|
|
|
|
|
|
|
-- CreateIndex
|
|
|
|
CREATE INDEX `website_team_id_idx` ON `website`(`team_id`);
|
2024-02-05 20:47:12 +01:00
|
|
|
|
|
|
|
-- CreateIndex
|
|
|
|
CREATE INDEX `website_created_by_idx` ON `website`(`created_by`);
|