Skip to content

Commit

Permalink
Fix CHECK on token_hex column. Closes #23.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepeterson committed Jun 4, 2021
1 parent 39b1b36 commit b725d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/mysql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ CREATE TABLE enrollments (

CHECK (topic != ''),
CHECK (push_magic != ''),
CHECK (LENGTH(token) > 0)
CHECK (token_hex != '')
);


Expand Down

0 comments on commit b725d03

Please sign in to comment.