mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-30 12:52:24 -05:00
Merge pull request #360 from DmitrySandalov/dev
tags: mysql create tables if not exists
This commit is contained in:
commit
5c8d438c08
@ -33,13 +33,13 @@ CREATE TABLE IF NOT EXISTS `users_config` (
|
|||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE tags (
|
CREATE TABLE IF NOT EXISTS `tags` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`value` varchar(255) NOT NULL,
|
`value` varchar(255) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE tags_entries (
|
CREATE TABLE IF NOT EXISTS `tags_entries` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`entry_id` int(11) NOT NULL,
|
`entry_id` int(11) NOT NULL,
|
||||||
`tag_id` int(11) NOT NULL,
|
`tag_id` int(11) NOT NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user