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