more stuff

This commit is contained in:
HRG @ SCExC 2024-06-08 11:42:27 -04:00
parent 835c5fdd66
commit d2ad994716
6 changed files with 84 additions and 50 deletions

View file

@ -63,6 +63,7 @@ CREATE TABLE structure_dbs (
PRIMARY KEY(db_id, structure_id),
FOREIGN KEY(db_id) REFERENCES dbs(id),
FOREIGN KEY(structure_id) REFERENCES structures(id)
UNIQUE(alias, structure_id)
);
CREATE TABLE files (