2018-06-01 20:55:26 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2020-11-27 22:52:52 -05:00
|
|
|
|
namespace SharedLibraryCore.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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|