Update migrations

This commit is contained in:
handi
2025-12-03 22:03:15 +01:00
parent ff7560b263
commit e2d96c712e
17 changed files with 786 additions and 683 deletions

View File

@@ -29,11 +29,12 @@ create table if not exists roles (
);
create table if not exists permissions (
role_id integer unique not null,
dash_id integer unique not null,
role_id integer not null,
dash_id integer not null,
active integer not null default 1,
date_create TEXT NOT NULL DEFAULT (datetime('now')),
id integer primary key autoincrement
id integer primary key autoincrement,
unique (role_id, dash_id)
);
INSERT INTO schema_version (version) VALUES ('20251130_191100_add_table_dashboards');