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

26 lines
695 B
C#
Raw Permalink Normal View History

2018-06-01 20:55:26 -04:00
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Data.Migrations.Postgresql
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");
}
}
}