daphnis/prisma/migrations/20240624144643_auth/migration.sql

19 lines
586 B
MySQL
Raw Normal View History

2024-06-29 05:22:22 +00:00
/*
Warnings:
- You are about to drop the column `description` on the `user` table. All the data in the column will be lost.
- You are about to drop the column `name` on the `user` table. All the data in the column will be lost.
- You are about to drop the column `slug` on the `user` table. All the data in the column will be lost.
*/
-- DropForeignKey
ALTER TABLE `invites` DROP FOREIGN KEY `Invites_userId_fkey`;
-- DropIndex
DROP INDEX `User_slug_key` ON `user`;
-- AlterTable
ALTER TABLE `user` DROP COLUMN `description`,
DROP COLUMN `name`,
DROP COLUMN `slug`;