feat: config setting to default show/hide private info
This commit is contained in:
6
PluralKit.Core/Database/Migrations/23.sql
Normal file
6
PluralKit.Core/Database/Migrations/23.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- schema version 23
|
||||
-- show/hide private information when looked up by linked accounts
|
||||
|
||||
alter table system_config add column show_private_info bool default true;
|
||||
|
||||
update info set schema_version = 23;
|
@@ -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 = 22;
|
||||
private const int TargetSchemaVersion = 23;
|
||||
private readonly ILogger _logger;
|
||||
|
||||
public DatabaseMigrator(ILogger logger)
|
||||
|
Reference in New Issue
Block a user