jl-backend-rs/migrations/6_contact.sql

8 lines
227 B
SQL

CREATE TABLE IF NOT EXISTS "contact" (
id SERIAL PRIMARY KEY,
first_name VARCHAR NOT NULL,
last_name VARCHAR NOT NULL,
credential VARCHAR NOT NULL,
message VARCHAR(2048) NOT NULL,
time_created TIMESTAMPTZ NOT NULL
)