From e38705c3e848afa12e5f93dcff37a89d276dc1ac Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Sat, 8 Jun 2024 15:20:25 +0100 Subject: [PATCH] add missing migration (#15369) Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> --- .../migration.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/prisma/migrations/20240607082125_removal_of_logo_and_avatar/migration.sql diff --git a/packages/prisma/migrations/20240607082125_removal_of_logo_and_avatar/migration.sql b/packages/prisma/migrations/20240607082125_removal_of_logo_and_avatar/migration.sql new file mode 100644 index 00000000000000..aed239a7b0169b --- /dev/null +++ b/packages/prisma/migrations/20240607082125_removal_of_logo_and_avatar/migration.sql @@ -0,0 +1,14 @@ +/* + Warnings: + + - You are about to drop the column `logo` on the `Team` table. All the data in the column will be lost. + - You are about to drop the column `avatar` on the `users` table. All the data in the column will be lost. + - You are about to drop the column `away` on the `users` table. All the data in the column will be lost. + +*/ +-- AlterTable +ALTER TABLE "Team" DROP COLUMN "logo"; + +-- AlterTable +ALTER TABLE "users" DROP COLUMN "avatar", +DROP COLUMN "away";