mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
chore: prepare for merge with a different branch with a migration
This commit is contained in:
parent
82b57de3e3
commit
e3776e3b1e
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
-- database version 49
|
||||
-- database version 50
|
||||
-- change proxy switch config to an enum
|
||||
|
||||
alter table system_config
|
||||
|
|
@ -8,4 +8,4 @@ alter table system_config
|
|||
alter column proxy_switch set default 0,
|
||||
add constraint proxy_switch_check check (proxy_switch = ANY (ARRAY[0,1,2]));
|
||||
|
||||
update info set schema_version = 49;
|
||||
update info set schema_version = 50;
|
||||
|
|
@ -9,7 +9,7 @@ namespace PluralKit.Core;
|
|||
internal class DatabaseMigrator
|
||||
{
|
||||
private const string RootPath = "PluralKit.Core.Database"; // "resource path" root for SQL files
|
||||
private const int TargetSchemaVersion = 49;
|
||||
private const int TargetSchemaVersion = 50;
|
||||
private readonly ILogger _logger;
|
||||
|
||||
public DatabaseMigrator(ILogger logger)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue