Skip to content

Commit ca26bd8

Browse files
committed
Role added
1 parent 877b681 commit ca26bd8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎db/init.sql‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CREATE TABLE users (
1515
password_hash VARCHAR(255) NOT NULL,
1616
full_name VARCHAR(100) NOT NULL,
1717
phone VARCHAR(20),
18+
role VARCHAR(20) NOT NULL DEFAULT 'user',
1819
status user_status DEFAULT 'active',
1920
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
2021
updated_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP

0 commit comments

Comments
 (0)