roles: sql, crate, struct, id, rocket id, list page

This commit is contained in:
Philippe Loctaux 2023-05-07 12:26:29 +02:00
parent 2e055e2037
commit efaf2bda5a
23 changed files with 462 additions and 2 deletions

View file

@ -0,0 +1 @@
drop table if exists roles;

View 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
);