Files
imen_pishghaman/apps/api/prisma/migrations/20261022100000_admin_phone/migration.sql
T

4 lines
172 B
SQL
Raw Normal View History

-- Rename login identifier from email to phone
ALTER TABLE "AdminUser" RENAME COLUMN "email" TO "phone";
ALTER INDEX "AdminUser_email_key" RENAME TO "AdminUser_phone_key";