[feat] extend database schema with new tables and indexes

This commit is contained in:
2025-08-21 00:29:14 +02:00
parent b8f33e252a
commit 49a9e08d38
32 changed files with 392 additions and 36 deletions

View File

@@ -1,17 +1,19 @@
create table kampftechnik
(
id INTEGER
id INTEGER
primary key,
optolith_key TEXT not null
optolith_key TEXT not null
unique,
name TEXT not null,
grundwert INTEGER default 6 not null,
probe_attr1_id INTEGER
name TEXT not null,
grundwert INTEGER default 6 not null,
probe_attr1_id INTEGER
references attribute,
probe_attr2_id INTEGER
probe_attr2_id INTEGER
references attribute,
probe_attr3_id INTEGER
probe_attr3_id INTEGER
references attribute,
beschreibung TEXT
beschreibung TEXT,
leiteigenschaft_id INTEGER
references attribute
);