Skip to content

Commit

Permalink
Add avatar field to user table.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Jan 15, 2024
1 parent 377fbe0 commit 1de115b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion migrations/20240112_01_Njk7j-create-initial-tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ CREATE TABLE "user" (
website TEXT,
bio TEXT,
wikidot_pro BOOLEAN NOT NULL,
karma SMALLINT NOT NULL CHECK (0 <= karma AND karma <= 5)
karma SMALLINT NOT NULL CHECK (0 <= karma AND karma <= 5),
avatar BYTEA
);

CREATE TABLE site_member (
Expand Down

0 comments on commit 1de115b

Please sign in to comment.