Added OR IGNORE to an INSERT statement in schema.
This commit is contained in:
parent
b7de10e790
commit
76830d4468
@ -5,7 +5,7 @@ CREATE TABLE IF NOT EXISTS `category` (
|
||||
PRIMARY KEY (`category_id`),
|
||||
UNIQUE (`name`) );
|
||||
|
||||
INSERT INTO `category`
|
||||
INSERT OR IGNORE INTO `category`
|
||||
VALUES
|
||||
(1, 'Update'),
|
||||
(2, 'Diary');
|
||||
|
Loading…
Reference in New Issue
Block a user