Get/Set/Remove Versions in StorDB/MySQL; new MySQL table - versions

This commit is contained in:
DanB
2016-12-06 19:02:28 +01:00
parent ff6c38df1b
commit 0bd2c32f5c
10 changed files with 199 additions and 0 deletions

View File

@@ -409,4 +409,14 @@ CREATE TABLE tp_resource_limits (
UNIQUE KEY `unique_tp_resource_limits` (`tpid`, `tag`)
);
DROP TABLE IF EXISTS versions;
CREATE TABLE versions (
`id` int(11) NOT NULL AUTO_INCREMENT,
`item` varchar(64) NOT NULL,
`version` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `item` (`item`)
);