Fixed typos in mindflow's SQL schema.
This commit is contained in:
parent
e520526e08
commit
bf0787d8b6
@ -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
|
||||
@ -22,4 +21,3 @@ CREATE TABLE IF NOT EXISTS `post` (
|
||||
REFERENCES `category` (`category_id`)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE );
|
||||
);
|
Loading…
Reference in New Issue
Block a user