using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Content.Server.Database.Migrations.Sqlite
{
///
public partial class BanTemplate : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "ban_template",
columns: table => new
{
ban_template_id = table.Column(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
title = table.Column(type: "TEXT", nullable: false),
length = table.Column(type: "TEXT", nullable: false),
reason = table.Column(type: "TEXT", nullable: false),
exempt_flags = table.Column(type: "INTEGER", nullable: false),
severity = table.Column(type: "INTEGER", nullable: false),
auto_delete = table.Column(type: "INTEGER", nullable: false),
hidden = table.Column(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_ban_template", x => x.ban_template_id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "ban_template");
}
}
}