fix doc error

master
kevin 4 years ago
parent 6c4a4be5d2
commit 09340e82a7

@ -405,11 +405,9 @@
```sql ```sql
CREATE TABLE `shorturl` CREATE TABLE `shorturl`
( (
`id` bigint(10) NOT NULL AUTO_INCREMENT, `shorten` varchar(255) NOT NULL COMMENT 'shorten key',
`key` varchar(255) NOT NULL DEFAULT '' COMMENT 'shorten key', `url` varchar(255) NOT NULL COMMENT 'original url',
`url` varchar(255) DEFAULT '' COMMENT 'original url', PRIMARY KEY(`shorten`)
PRIMARY KEY(`id`),
UNIQUE KEY `key_index`(`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
``` ```

Loading…
Cancel
Save