forms/migrations/20220909135248_forms_submissions.sql

8 lines
253 B
MySQL
Raw Normal View History

2022-09-09 19:51:54 +05:30
CREATE TABLE IF NOT EXISTS forms_submissions (
ID SERIAL PRIMARY KEY NOT NULL,
website_path VARCHAR(2500) NOT NULL,
value JSONB,
time timestamptz NOT NULL DEFAULT now(),
website_id INTEGER NOT NULL references forms_websites(ID) ON DELETE CASCADE
)