[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

@@ -0,0 +1,17 @@
create table spell_modification
(
id INTEGER
primary key,
spell_id INTEGER not null
references spell
on delete cascade,
name TEXT not null,
wirkung TEXT not null,
voraussetzung TEXT,
kosten_modifikation TEXT,
unique (spell_id, name)
);
create index idx_spell_mod_spell
on spell_modification (spell_id);