IW4M-Admin/Data/Migrations/Sqlite/20180601172317_AddActivityAmount.cs

26 lines
691 B
C#
Raw Normal View History

2018-06-01 20:55:26 -04:00
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Data.Migrations.Sqlite
2018-06-01 20:55:26 -04:00
{
public partial class AddActivityAmount : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "ActivityAmount",
table: "EFRating",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ActivityAmount",
table: "EFRating");
}
}
}