diff --git a/pkg/mindflow/database/sqlite/queries/schema.sql b/pkg/mindflow/database/sqlite/queries/schema.sql index 597fa11..5f8c5cd 100644 --- a/pkg/mindflow/database/sqlite/queries/schema.sql +++ b/pkg/mindflow/database/sqlite/queries/schema.sql @@ -3,8 +3,7 @@ CREATE TABLE IF NOT EXISTS `category` ( `category_id` INTEGER NOT NULL, `name` TEXT NOT NULL, PRIMARY KEY (`category_id`), - UNIQUE (`name`) -); + UNIQUE (`name`) ); INSERT INTO `category` VALUES @@ -21,5 +20,4 @@ CREATE TABLE IF NOT EXISTS `post` ( FOREIGN KEY (`category_id`) REFERENCES `category` (`category_id`) ON DELETE CASCADE - ON UPDATE CASCADE ); -); \ No newline at end of file + ON UPDATE CASCADE ); \ No newline at end of file