Skip to content

Commit

Permalink
Points column should not be UNSIGNED
Browse files Browse the repository at this point in the history
A user can loose points within a period rather than gaining.

See #4, #5
  • Loading branch information
JDGrimes committed Apr 17, 2017
1 parent da1cbb0 commit 479d8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/class-un-installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class WordPoints_Top_Users_In_Period_Un_Installer
id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
block_id BIGINT(20) UNSIGNED NOT NULL,
user_id BIGINT(20) UNSIGNED NOT NULL,
points BIGINT(20) UNSIGNED NOT NULL,
points BIGINT(20) NOT NULL,
PRIMARY KEY (id),
UNIQUE KEY block_user_id (user_id,block_id)',
),
Expand Down

0 comments on commit 479d8ee

Please sign in to comment.