mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2024-11-22 20:51:17 -05:00
35 lines
615 B
SQL
35 lines
615 B
SQL
CREATE TABLE auth_val (
|
|
id SERIAL PRIMARY KEY,
|
|
email VARCHAR
|
|
);
|
|
|
|
INSERT INTO auth_val(email) VALUES('blazercmstest@gmail.com');
|
|
|
|
CREATE TABLE events (
|
|
id SERIAL PRIMARY KEY,
|
|
lang VARCHAR,
|
|
title VARCHAR NOT NULL,
|
|
text VARCHAR,
|
|
location VARCHAR NOT NULL,
|
|
event_date DATE,
|
|
name VARCHAR NOT NULL,
|
|
emails VARCHAR NOT NULL
|
|
);
|
|
|
|
|
|
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
|
|
);
|