mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-02-05 11:53:36 -05:00
42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
// <auto-generated />
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace AliasServerDb.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddPerUserEmailLimits : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "MaxEmailAgeDays",
|
|
table: "AliasVaultUsers",
|
|
type: "integer",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "MaxEmails",
|
|
table: "AliasVaultUsers",
|
|
type: "integer",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "MaxEmailAgeDays",
|
|
table: "AliasVaultUsers");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "MaxEmails",
|
|
table: "AliasVaultUsers");
|
|
}
|
|
}
|
|
}
|