blazerapp/cms/migrations/setup/up.sql

16 lines
302 B
SQL

CREATE TABLE auth_val (
id SERIAL PRIMARY KEY,
email VARCHAR
);
INSERT INTO auth_val(email) VALUES('hkailadka88@gmail.com');
CREATE TABLE events (
id SERIAL PRIMARY KEY,
lang VARCHAR,
title VARCHAR NOT NULL,
text VARCHAR,
location VARCHAR NOT NULL,
event_date DATE
);