fabrica

hanna/fabrica

709 bytes
Raw
1-- Profile fields shown on the user page: pronouns, a bio, a website and
2-- location, and named social handles. `avatar_mime` records an uploaded
3-- avatar's content type; NULL means fall back to a generated identicon. The
4-- avatar bytes live on disk under `{storage.data_dir}/avatars/{id}`, keeping
5-- the schema portable (no BLOB/BYTEA divergence).
6ALTER TABLE users ADD COLUMN pronouns TEXT;
7ALTER TABLE users ADD COLUMN bio TEXT;
8ALTER TABLE users ADD COLUMN website TEXT;
9ALTER TABLE users ADD COLUMN location TEXT;
10ALTER TABLE users ADD COLUMN social_github TEXT;
11ALTER TABLE users ADD COLUMN social_mastodon TEXT;
12ALTER TABLE users ADD COLUMN avatar_mime TEXT;