feat(36-01): add isAdmin column to users table schema and generate migration
- Add isAdmin boolean(is_admin) NOT NULL DEFAULT false to users table - Generate migration 0009_spotty_lord_tyger.sql - NOTE: db:push requires DATABASE_URL with correct credentials to apply
This commit is contained in:
1
drizzle-pg/0009_spotty_lord_tyger.sql
Normal file
1
drizzle-pg/0009_spotty_lord_tyger.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE "users" ADD COLUMN "is_admin" boolean DEFAULT false NOT NULL;
|
||||
Reference in New Issue
Block a user