SQL schema version table to ease future database upgrades
This commit is contained in:
parent
69e58d8632
commit
dda05f5cc7
4
data/schema/6.sql
Normal file
4
data/schema/6.sql
Normal file
@ -0,0 +1,4 @@
|
||||
CREATE TABLE `sc_version` (
|
||||
`schema_version` int(11) NOT NULL
|
||||
) DEFAULT CHARSET=utf8;
|
||||
INSERT INTO `sc_version` (`schema_version`) VALUES ('6');
|
@ -182,4 +182,10 @@ CREATE TABLE `sc_votes` (
|
||||
UNIQUE KEY `bid_2` (`bId`,`uId`),
|
||||
KEY `bid` (`bId`),
|
||||
KEY `uid` (`uId`)
|
||||
) CHARACTER SET utf8 COLLATE utf8_general_ci ;
|
||||
) CHARACTER SET utf8 COLLATE utf8_general_ci ;
|
||||
|
||||
|
||||
CREATE TABLE `sc_version` (
|
||||
`schema_version` int(11) NOT NULL
|
||||
) DEFAULT CHARSET=utf8;
|
||||
INSERT INTO `sc_version` (`schema_version`) VALUES ('6');
|
||||
|
@ -16,6 +16,7 @@ ChangeLog for SemantiScuttle
|
||||
- Fix privacy issue when fetching tags of several users
|
||||
- Only URLs with an allowed protocol may be added to the database
|
||||
- Support HTTPS connections when $root is not configured
|
||||
- SQL schema version table to ease future database upgrades
|
||||
|
||||
|
||||
0.97.2 - 2011-02-17
|
||||
|
@ -2,6 +2,17 @@ Upgrading SemanticScuttle from a previous version
|
||||
=================================================
|
||||
|
||||
|
||||
From version 0.97 to 0.98
|
||||
-------------------------
|
||||
Database updates: Apply data/schema/6.sql or do the following:
|
||||
|
||||
CREATE TABLE `sc_version` (
|
||||
`schema_version` int(11) NOT NULL
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
INSERT INTO `sc_version` (`schema_version`) VALUES ('6');
|
||||
|
||||
|
||||
From version 0.96 to 0.97
|
||||
-------------------------
|
||||
No database changes necessary.
|
||||
|
Loading…
Reference in New Issue
Block a user