2024-08-12 17:25:30 +03:00
|
|
|
create table polls (
|
|
|
|
id bigint not null,
|
|
|
|
date date not null,
|
|
|
|
is_complete boolean default false not null,
|
|
|
|
primary key (id)
|
|
|
|
);
|
|
|
|
|
|
|
|
create table mood_polls () inherits (polls);
|
2024-08-13 00:00:41 +03:00
|
|
|
create table lunch_polls () inherits (polls);
|