Skip to content

Commit

Permalink
mysql: Fix primary key definition on Quota table.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Dec 24, 2015
1 parent b3bd1f5 commit ab9b076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cats/ddl/creates/mysql.sql
Expand Up @@ -379,7 +379,7 @@ CREATE TABLE Version (
);

CREATE TABLE Quota (
ClientId INT UNSIGNED DEFAULT NULL,
ClientId INTEGER DEFAULT 0 REFERENCES Client,
GraceTime BIGINT DEFAULT 0,
QuotaLimit BIGINT UNSIGNED DEFAULT 0,
PRIMARY KEY (ClientId)
Expand Down
2 changes: 1 addition & 1 deletion src/cats/ddl/updates/mysql.14_2001.sql
@@ -1,5 +1,5 @@
CREATE TABLE Quota (
ClientId INT UNSIGNED DEFAULT NULL,
ClientId INTEGER DEFAULT 0 REFERENCES Client,
GraceTime BIGINT DEFAULT 0,
QuotaLimit BIGINT UNSIGNED DEFAULT 0,
PRIMARY KEY (ClientId)
Expand Down

0 comments on commit ab9b076

Please sign in to comment.