change versioning check to use insert

This commit is contained in:
Jordie0608
2017-07-25 17:56:48 +10:00
parent b188a18482
commit 7e6ed58148
2 changed files with 13 additions and 13 deletions

View File

@@ -1,10 +1,10 @@
Any time you make a change to the schema files, remember to increment the database schema version. Generally increment the minor number, major should be reserved for significant changes to the schema. Both values go up to 255.
The latest database version is 3.1; The query to update the schema revision table is:
The latest database version is 3.0; The query to update the schema revision table is:
UPDATE `schema_revision` SET major = 3, minor = 1 LIMIT 1;
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (3, 0);
or
UPDATE `SS13_schema_revision` SET major = 3, minor = 1 LIMIT 1;
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (3, 0);
----------------------------------------------------