Add banner (large) image

This commit is contained in:
spiral
2021-08-02 13:46:12 -04:00
parent 7681978435
commit e144571904
17 changed files with 231 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
-- SCHEMA VERSION 15: 2021-08-01
-- add banner (large) images to entities with "cards"
alter table systems add column banner_image text;
alter table members add column banner_image text;
alter table groups add column banner_image text;
update info set schema_version = 15;

View File

@@ -12,7 +12,7 @@ namespace PluralKit.Core
internal class DatabaseMigrator
{
private const string RootPath = "PluralKit.Core.Database"; // "resource path" root for SQL files
private const int TargetSchemaVersion = 14;
private const int TargetSchemaVersion = 15;
private readonly ILogger _logger;
public DatabaseMigrator(ILogger logger)