mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
Add banner (large) image
This commit is contained in:
parent
7681978435
commit
e144571904
17 changed files with 231 additions and 11 deletions
8
PluralKit.Core/Database/Migrations/15.sql
Normal file
8
PluralKit.Core/Database/Migrations/15.sql
Normal 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;
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue