Skip to content

Commit

Permalink
Haha whoops, from is the username, not user id
Browse files Browse the repository at this point in the history
  • Loading branch information
jmicko committed Jan 4, 2024
1 parent 66f9761 commit fdfa1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/modules/database/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const createMessagesTable = async () => {
"type" VARCHAR(255),
"text" TEXT,
"timestamp" TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
"from" integer,
"from" VARCHAR(255),
"to" VARCHAR(255) DEFAULT 'all',
"deleted" BOOLEAN DEFAULT false,
"read" BOOLEAN DEFAULT false,
Expand Down

0 comments on commit fdfa1fd

Please sign in to comment.