1
0

Added OR IGNORE to an INSERT statement in schema.

This commit is contained in:
Alexander Andreev 2023-05-20 06:27:45 +04:00
parent b7de10e790
commit 76830d4468
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

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