Fix minor issue in ddl for SQLite
This commit is contained in:
parent
9f4d39e029
commit
951a0b233f
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ CREATE TABLE feedback (
|
||||||
package_name varchar(255) NOT NULL,
|
package_name varchar(255) NOT NULL,
|
||||||
version_code varchar(255) NOT NULL,
|
version_code varchar(255) NOT NULL,
|
||||||
version_number varchar(255) NOT NULL,
|
version_number varchar(255) NOT NULL,
|
||||||
actioned boolean NOT NULL DEFAULT false,
|
actioned boolean NOT NULL DEFAULT 0,
|
||||||
FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE NO ACTION ON UPDATE NO ACTION
|
FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE NO ACTION ON UPDATE NO ACTION
|
||||||
);
|
);
|
||||||
CREATE INDEX feedback_idx_user_id ON feedback (user_id);
|
CREATE INDEX feedback_idx_user_id ON feedback (user_id);
|
||||||
|
|
Reference in a new issue