Fix minor issue in ddl for SQLite

This commit is contained in:
Tom Bloor 2017-11-21 10:48:32 +00:00
parent 9f4d39e029
commit 951a0b233f
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC

View file

@ -128,7 +128,7 @@ CREATE TABLE feedback (
package_name varchar(255) NOT NULL,
version_code 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
);
CREATE INDEX feedback_idx_user_id ON feedback (user_id);