diff --git a/prisma/migrations/20240417094807_add_username_field/migration.sql b/prisma/migrations/20240417094807_add_username_field/migration.sql new file mode 100644 index 0000000..2d730b3 --- /dev/null +++ b/prisma/migrations/20240417094807_add_username_field/migration.sql @@ -0,0 +1,8 @@ +/* + Warnings: + + - Added the required column `username` to the `User` table without a default value. This is not possible if the table is not empty. + +*/ +-- AlterTable +ALTER TABLE "User" ADD COLUMN "username" TEXT NOT NULL; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 083924c..4b648c5 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -263,6 +263,7 @@ model User { firstNameEN String lastName String lastNameEN String + username String gender String address String