mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-09 16:09:15 +00:00
change versioning check to use insert
This commit is contained in:
@@ -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);
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user