7 lines
253 B
SQL
7 lines
253 B
SQL
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
|
|
)
|