Skip to content

Commit

Permalink
Merge pull request #43 from nehbehl/patch-31
Browse files Browse the repository at this point in the history
Update schema.sql
  • Loading branch information
SudKul authored Nov 18, 2024
2 parents 5dce4a7 + 0642ae7 commit 24ef872
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CREATE TABLE IF NOT EXISTS USERS (
userid INT PRIMARY KEY auto_increment,
userid serial PRIMARY KEY,
username VARCHAR(20),
salt VARCHAR,
password VARCHAR,
Expand All @@ -8,7 +8,7 @@ CREATE TABLE IF NOT EXISTS USERS (
);

CREATE TABLE IF NOT EXISTS MESSAGES (
messageid INT PRIMARY KEY auto_increment,
messageid serial PRIMARY KEY,
username VARCHAR NOT NULL,
messagetext VARCHAR NOT NULL
);
);

0 comments on commit 24ef872

Please sign in to comment.