ProjectLighthouse/ProjectLighthouse/Migrations/20220802150408_Arrrrrr.cs
2022-08-02 11:12:33 -04:00

31 lines
859 B
C#

using System;
using LBPUnion.ProjectLighthouse;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ProjectLighthouse.Migrations
{
[DbContext(typeof(Database))]
[Migration("20220802150408_Arrrrrr")]
public partial class Arrrrrr : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsAPirate",
table: "Users",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsAPirate",
table: "Users");
}
}
}