Skip to content

Commit

Permalink
Update setup.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
asilvafx authored Nov 15, 2024
1 parent 6820624 commit 057c150
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/data/db/setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,19 @@ CREATE TABLE IF NOT EXISTS api (
created_at TIMESTAMP DEFAULT (strftime('%s',CURRENT_TIMESTAMP,'localtime'))
);

CREATE TABLE IF NOT EXISTS permissions (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT,
default INTEGER DEFAULT 0
);

CREATE TABLE IF NOT EXISTS roles (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT,
description TEXT,
access TEXT,
color TEXT,
default INTEGER DEFAULT 0,
is_admin INTEGER DEFAULT 0
);

Expand Down

0 comments on commit 057c150

Please sign in to comment.