diff --git a/prisma/migrations/20240502103147_/migration.sql b/prisma/migrations/20240502103147_/migration.sql deleted file mode 100644 index e12239b..0000000 --- a/prisma/migrations/20240502103147_/migration.sql +++ /dev/null @@ -1,8 +0,0 @@ -/* - Warnings: - - - Added the required column `password` to the `User` table without a default value. This is not possible if the table is not empty. - -*/ --- AlterTable -ALTER TABLE `user` ADD COLUMN `password` VARCHAR(191) NOT NULL; diff --git a/prisma/migrations/20240425112717_/migration.sql b/prisma/migrations/20240503065619_/migration.sql similarity index 97% rename from prisma/migrations/20240425112717_/migration.sql rename to prisma/migrations/20240503065619_/migration.sql index 34688aa..36be294 100644 --- a/prisma/migrations/20240425112717_/migration.sql +++ b/prisma/migrations/20240503065619_/migration.sql @@ -3,6 +3,7 @@ CREATE TABLE `User` ( `id` INTEGER NOT NULL AUTO_INCREMENT, `email` VARCHAR(191) NOT NULL, `nickname` VARCHAR(191) NOT NULL, + `password` VARCHAR(191) NOT NULL, UNIQUE INDEX `User_email_key`(`email`), PRIMARY KEY (`id`)