Skip to content

Commit

Permalink
added unsorted to the classification column
Browse files Browse the repository at this point in the history
  • Loading branch information
TartuDen committed Jan 5, 2024
1 parent d94cce3 commit 3d8c765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/repository/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ var guestUser = `INSERT INTO users (username, password, first_name, last_name, e
VALUES ('guest', '123456', 'Guest', 'User', 'guest@gmail.com', 'guest');`

var addClassificationToPost = `ALTER TABLE post
ADD COLUMN classification VARCHAR(50) DEFAULT '';`
ADD COLUMN classification VARCHAR(50) DEFAULT 'unsorted';`

var addClassificationToThread = `ALTER TABLE thread
ADD COLUMN classification VARCHAR(50) DEFAULT '';`
ADD COLUMN classification VARCHAR(50) DEFAULT 'unsorted';`

var addUserType = `ALTER TABLE users
ADD COLUMN type VARCHAR(50) DEFAULT 'user';`
Expand Down
Binary file modified mainDB.db
Binary file not shown.

0 comments on commit 3d8c765

Please sign in to comment.