Skip to content

Commit

Permalink
fix table
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatsnake committed Oct 22, 2023
1 parent 4ea6990 commit ded6c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/storage/sqlite/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (s *Storage) InitTables() error {
commandTable := `CREATE TABLE IF NOT EXISTS bot_commands (
id TEXT NOT NULL UNIQUE CHECK(LENGTH(id) <= 64),
bot_id TEXT NOT NULL CHECK(LENGTH(bot_id) <= 64),
alias TEXT NOT NULL UNIQUE CHECK(LENGTH(alias) <= 32),
alias TEXT NOT NULL CHECK(LENGTH(alias) <= 32),
description TEXT CHECK(LENGTH(description) <= 256),
PRIMARY KEY (id)
);`
Expand Down

0 comments on commit ded6c34

Please sign in to comment.