mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Prepare for schema changes
This commit is contained in:
parent
e9682bc601
commit
b58a326461
4 changed files with 22 additions and 1 deletions
|
@ -39,7 +39,7 @@ use JKingWeb\Arsse\Misc\URL;
|
||||||
*/
|
*/
|
||||||
class Database {
|
class Database {
|
||||||
/** The version number of the latest schema the interface is aware of */
|
/** The version number of the latest schema the interface is aware of */
|
||||||
public const SCHEMA_VERSION = 6;
|
public const SCHEMA_VERSION = 7;
|
||||||
/** Makes tag/label association change operations remove members */
|
/** Makes tag/label association change operations remove members */
|
||||||
public const ASSOC_REMOVE = 0;
|
public const ASSOC_REMOVE = 0;
|
||||||
/** Makes tag/label association change operations add members */
|
/** Makes tag/label association change operations add members */
|
||||||
|
|
6
sql/MySQL/6.sql
Normal file
6
sql/MySQL/6.sql
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
-- SPDX-License-Identifier: MIT
|
||||||
|
-- Copyright 2017 J. King, Dustin Wilson et al.
|
||||||
|
-- See LICENSE and AUTHORS files for details
|
||||||
|
|
||||||
|
|
||||||
|
update arsse_meta set value = '7' where "key" = 'schema_version';
|
7
sql/PostgreSQL/6.sql
Normal file
7
sql/PostgreSQL/6.sql
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
-- SPDX-License-Identifier: MIT
|
||||||
|
-- Copyright 2017 J. King, Dustin Wilson et al.
|
||||||
|
-- See LICENSE and AUTHORS files for details
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
update arsse_meta set value = '7' where "key" = 'schema_version';
|
8
sql/SQLite3/6.sql
Normal file
8
sql/SQLite3/6.sql
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
-- SPDX-License-Identifier: MIT
|
||||||
|
-- Copyright 2017 J. King, Dustin Wilson et al.
|
||||||
|
-- See LICENSE and AUTHORS files for details
|
||||||
|
|
||||||
|
|
||||||
|
-- set version marker
|
||||||
|
pragma user_version = 7;
|
||||||
|
update arsse_meta set value = '7' where "key" = 'schema_version';
|
Loading…
Reference in a new issue