jl-backend-rs/migrations/2_agent.sql

10 lines
325 B
MySQL
Raw Normal View History

2023-03-15 13:06:42 +00:00
CREATE TABLE IF NOT EXISTS "agent" (
id UUID PRIMARY KEY,
2023-04-14 18:42:52 +00:00
shortcode VARCHAR UNIQUE NOT NULL,
2023-03-15 13:06:42 +00:00
full_name VARCHAR NOT NULL,
credential VARCHAR NOT NULL,
credential_type VARCHAR NOT NULL,
profile_picture_url VARCHAR NOT NULL,
2023-03-15 13:06:42 +00:00
time_created TIMESTAMPTZ NOT NULL,
last_updated TIMESTAMPTZ NOT NULL
);