[feat] add initial database schema with tables, triggers, and views
This commit is contained in:
17
database/main/kampftechnik.sql
Normal file
17
database/main/kampftechnik.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
create table kampftechnik
|
||||
(
|
||||
id INTEGER
|
||||
primary key,
|
||||
optolith_key TEXT not null
|
||||
unique,
|
||||
name TEXT not null,
|
||||
grundwert INTEGER default 6 not null,
|
||||
probe_attr1_id INTEGER
|
||||
references attribute,
|
||||
probe_attr2_id INTEGER
|
||||
references attribute,
|
||||
probe_attr3_id INTEGER
|
||||
references attribute,
|
||||
beschreibung TEXT
|
||||
);
|
||||
|
Reference in New Issue
Block a user