mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
Merge branch 'master' into upstream-feb12-2026
This commit is contained in:
@@ -45,3 +45,12 @@ CREATE TABLE `stored_faxes` (
|
||||
COLLATE='utf8mb4_general_ci'
|
||||
ENGINE=InnoDB
|
||||
;
|
||||
|
||||
DROP TABLE IF EXISTS `privacy_policy_acceptances`;
|
||||
CREATE TABLE `privacy_policy_acceptances` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`ckey` VARCHAR(32) NOT NULL,
|
||||
`policy_key` VARCHAR(64) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE INDEX `ckey_policy_unique` (`ckey`, `policy_key`)
|
||||
);
|
||||
|
||||
@@ -2,16 +2,16 @@ Any time you make a change to the schema files, remember to increment the databa
|
||||
|
||||
Make sure to also update `DB_MAJOR_VERSION` and `DB_MINOR_VERSION`, which can be found in `code/__DEFINES/subsystem.dm`.
|
||||
|
||||
The latest database version is 5.35 (for bubberstation) (5.34 for /tg/); The query to update the schema revision table is:
|
||||
The latest database version is 5.36 (for bubberstation) (5.34 for /tg/); The query to update the schema revision table is:
|
||||
|
||||
```sql
|
||||
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 35);
|
||||
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 36);
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sql
|
||||
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 35);
|
||||
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 36);
|
||||
```
|
||||
|
||||
In any query remember to add a prefix to the table names if you use one.
|
||||
|
||||
Reference in New Issue
Block a user