roles: sql, crate, struct, id, rocket id, list page
This commit is contained in:
parent
2e055e2037
commit
efaf2bda5a
23 changed files with 462 additions and 2 deletions
7
crates/database/migrations/20230506170211_roles.up.sql
Normal file
7
crates/database/migrations/20230506170211_roles.up.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
create table if not exists roles
|
||||
(
|
||||
name TEXT not null primary key,
|
||||
label TEXT not null,
|
||||
created_at TEXT not null default CURRENT_TIMESTAMP,
|
||||
is_archived INTEGER not null default 0
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue