mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-04 20:55:19 +02:00
Update database schema and add signup_date, last_login, and role columns to user table
This commit is contained in:
parent
f0eb5441f0
commit
2249052ab7
10 changed files with 456 additions and 2 deletions
3
migrations/0003_easy_iron_monger.sql
Normal file
3
migrations/0003_easy_iron_monger.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
ALTER TABLE "user" ADD COLUMN "signup_date" timestamp with time zone NOT NULL;--> statement-breakpoint
|
||||
ALTER TABLE "user" ADD COLUMN "last_login" timestamp with time zone;--> statement-breakpoint
|
||||
ALTER TABLE "user" ADD COLUMN "role" text NOT NULL;
|
Loading…
Add table
Add a link
Reference in a new issue