mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-11-15 13:17:58 +01:00
20 lines
430 B
C#
20 lines
430 B
C#
using FluentMigrator;
|
|
|
|
namespace VoidCat.Services.Migrations.Database;
|
|
|
|
[Migration(20220911_1635)]
|
|
public class EncryptionParams : Migration{
|
|
public override void Up()
|
|
{
|
|
Create.Column("EncryptionParams")
|
|
.OnTable("Files")
|
|
.AsString()
|
|
.Nullable();
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
Delete.Column("EncryptionParams")
|
|
.FromTable("Files");
|
|
}
|
|
} |