#nullable disable
namespace Server.DB.Migrations;
using Microsoft.EntityFrameworkCore.Migrations;
///
public partial class Initial : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder) => migrationBuilder.CreateTable(
name: "Accounts",
columns: table => new
{
Id = table.Column(type: "uuid", nullable: false),
Username = table.Column(type: "varchar(20)", nullable: false),
Password = table.Column(type: "bytea", nullable: false),
Email = table.Column(type: "text", nullable: false),
PermissionLevel = table.Column(type: "smallint", nullable: false),
Salt = table.Column(type: "bytea", nullable: false)
},
constraints: table => table.PrimaryKey("PK_Accounts", x => x.Id));
///
protected override void Down(MigrationBuilder migrationBuilder) => migrationBuilder.DropTable(
name: "Accounts");
}