feat: config setting to automatically set members/groups to private when creating
This commit is contained in:
7
PluralKit.Core/Database/Migrations/22.sql
Normal file
7
PluralKit.Core/Database/Migrations/22.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- schema version 22
|
||||
-- automatically set members/groups as private when creating
|
||||
|
||||
alter table system_config add column member_default_private bool not null default false;
|
||||
alter table system_config add column group_default_private bool not null default false;
|
||||
|
||||
update info set schema_version = 22;
|
@@ -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 = 21;
|
||||
private const int TargetSchemaVersion = 22;
|
||||
private readonly ILogger _logger;
|
||||
|
||||
public DatabaseMigrator(ILogger logger)
|
||||
|
Reference in New Issue
Block a user