[feat] add initial database schema with tables, triggers, and views
This commit is contained in:
12
database/main/trait_level.sql
Normal file
12
database/main/trait_level.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
create table trait_level
|
||||
(
|
||||
trait_id INTEGER not null
|
||||
references trait
|
||||
on delete cascade,
|
||||
level INTEGER not null,
|
||||
ap_cost INTEGER,
|
||||
label TEXT,
|
||||
note TEXT,
|
||||
primary key (trait_id, level)
|
||||
);
|
||||
|
Reference in New Issue
Block a user