|
@ -1,11 +1,11 @@ |
|
|
create table room { |
|
|
|
|
|
|
|
|
create table room ( |
|
|
id serial primary key not null, |
|
|
id serial primary key not null, |
|
|
name varchar(32) not null, |
|
|
name varchar(32) not null, |
|
|
section_id char not null, |
|
|
section_id char not null, |
|
|
mode char not null, |
|
|
mode char not null, |
|
|
episode char not null, |
|
|
episode char not null, |
|
|
difficulty char not null, |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
difficulty char not null |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
create table room_note ( |
|
|
create table room_note ( |
|
|
room integer references room (id) not null, |
|
|
room integer references room (id) not null, |
|
|