2021-08-29 14:59:11 -04:00
|
|
|
CREATE TABLE auth_val (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
email VARCHAR
|
|
|
|
);
|
|
|
|
|
2021-09-06 19:19:39 -04:00
|
|
|
INSERT INTO auth_val(email) VALUES('blazercmstest@gmail.com');
|
2021-08-29 14:59:11 -04:00
|
|
|
|
2021-08-18 18:41:20 -04:00
|
|
|
CREATE TABLE events (
|
|
|
|
id SERIAL PRIMARY KEY,
|
2021-08-29 14:59:11 -04:00
|
|
|
lang VARCHAR,
|
2021-08-18 18:41:20 -04:00
|
|
|
title VARCHAR NOT NULL,
|
|
|
|
text VARCHAR,
|
|
|
|
location VARCHAR NOT NULL,
|
2021-09-08 23:50:20 -04:00
|
|
|
event_date DATE,
|
2021-09-10 18:17:44 -04:00
|
|
|
name VARCHAR NOT NULL,
|
2021-09-08 23:50:20 -04:00
|
|
|
emails VARCHAR NOT NULL
|
2021-08-18 18:41:20 -04:00
|
|
|
);
|
2021-09-08 21:41:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE teachers (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
lang VARCHAR,
|
|
|
|
name VARCHAR NOT NULL,
|
|
|
|
emails VARCHAR[]
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE new (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
lang VARCHAR,
|
|
|
|
image VARCHAR,
|
|
|
|
name VARCHAR NOT NULL,
|
|
|
|
new_date DATE
|
|
|
|
);
|