dolltags/schema.sql

26 lines
659 B
SQL

-- base schema
-- notnulls are tmp till i deal with proper validation
create table doll_profiles (
id integer not null primary key, -- 000000 format
created_at text not null default current_timestamp,
updated_at text,
-- base info
name text not null,
pronouns text not null, -- format as `{subject}/{object}/{possessive}` eg `she/her/hers`
handler_name text not null,
handler_url text,
-- customisation options for various entities
description text,
kind text,
breed text,
chassis_type text,
chassis_id text,
chassis_color text,
-- ID'ing
behaviour text,
microchip_id text
) strict;