Fix minor issue in ddl for SQLite

This commit is contained in:
Tom Bloor 2017-11-21 10:48:32 +00:00
parent b92ea1f7c6
commit 8855d64a6e

View file

@ -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);