clean-up migrations

This commit is contained in:
Francis Cao 2023-03-14 17:43:36 -07:00
parent 9321401297
commit cfa36d1802
4 changed files with 1 additions and 16 deletions

View file

@ -15,5 +15,4 @@ DROP INDEX "team_website_user_id_idx";
ALTER TABLE "team" DROP COLUMN "user_id";
-- AlterTable
ALTER TABLE "team_website" DROP COLUMN "user_id",
ADD COLUMN "userId" UUID;
ALTER TABLE "team_website" DROP COLUMN "user_id";

View file

@ -1,15 +1,11 @@
/*
Warnings:
- You are about to drop the column `userId` on the `team_website` table. All the data in the column will be lost.
- You are about to drop the column `referrer` on the `website_event` table. All the data in the column will be lost.
- You are about to drop the column `url` on the `website_event` table. All the data in the column will be lost.
- Added the required column `url_path` to the `website_event` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "team_website" DROP COLUMN "userId";
-- AlterTable
ALTER TABLE "website_event" DROP COLUMN "referrer",
DROP COLUMN "url",