[feat] extend database schema with new tables and indexes
This commit is contained in:
18
database/main/ranged_weapon.sql
Normal file
18
database/main/ranged_weapon.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
create table ranged_weapon
|
||||
(
|
||||
id INTEGER
|
||||
primary key,
|
||||
item_id INTEGER not null
|
||||
unique
|
||||
references item
|
||||
on delete cascade,
|
||||
kampftechnik_id INTEGER not null
|
||||
references kampftechnik
|
||||
on delete restrict,
|
||||
schaden_tp_formel TEXT not null,
|
||||
ladezeit_in_aktionen INTEGER,
|
||||
reichweite_nah INTEGER,
|
||||
reichweite_mittel INTEGER,
|
||||
reichweite_fern INTEGER
|
||||
);
|
||||
|
Reference in New Issue
Block a user