diff --git a/pkg/mindflow/database/sqlite/queries/schema.sql b/pkg/mindflow/database/sqlite/queries/schema.sql index 5f8c5cd..2f4a550 100644 --- a/pkg/mindflow/database/sqlite/queries/schema.sql +++ b/pkg/mindflow/database/sqlite/queries/schema.sql @@ -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');