Add to test schemas

This commit is contained in:
Patrick O'brien 2016-09-17 14:39:52 +10:00
parent bbd9277e0e
commit 2ba5371cb6
2 changed files with 49 additions and 10 deletions

View file

@ -181,3 +181,23 @@ create table elephants (
foreign key (tiger_id) references tigers (id)
);
create table wolves (
id binary primary key,
name binary not null,
tiger_id binary not null unique,
foreign key (tiger_id) references tigers (id)
);
create table ants (
id binary primary key,
name binary not null,
tiger_id binary not null,
foreign key (tiger_id) references tigers (id)
);
create table worms (
id binary primary key,
name binary not null,
tiger_id binary null,
foreign key (tiger_id) references tigers (id)
);