Authorization working
This commit is contained in:
14
db/1.0.0/4. createAccountTutorialStatus.sql
Normal file
14
db/1.0.0/4. createAccountTutorialStatus.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
CREATE TYPE raid_builder.tutorial_status AS ENUM ( 'COMPLETED', 'NOT_COMPLETED' );
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS raid_builder.account_tutorial_status (
|
||||
account_tutorial_status_id uuid PRIMARY KEY,
|
||||
account_id uuid REFERENCES raid_builder.account(account_id),
|
||||
games_tutorial_status raid_builder.tutorial_status NOT NULL,
|
||||
game_tutorial_status raid_builder.tutorial_status NOT NULL,
|
||||
raid_groups_tutorial_status raid_builder.tutorial_status NOT NULL,
|
||||
raid_group_tutorial_status raid_builder.tutorial_status NOT NULL,
|
||||
instance_tutorial_status raid_builder.tutorial_status NOT NULL
|
||||
);
|
||||
|
||||
GRANT ALL ON TABLE raid_builder.account_tutorial_status TO raid_builder;
|
||||
Reference in New Issue
Block a user