2018-09-07 23:29:42 -04:00
|
|
|
|
using System;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
2020-11-27 22:52:52 -05:00
|
|
|
|
namespace SharedLibraryCore.Migrations.Postgresql
|
2018-09-07 23:29:42 -04:00
|
|
|
|
{
|
|
|
|
|
public partial class AddWhenToRating : Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.AddColumn<DateTime>(
|
|
|
|
|
name: "When",
|
|
|
|
|
table: "EFRating",
|
|
|
|
|
nullable: false,
|
|
|
|
|
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.DropColumn(
|
|
|
|
|
name: "When",
|
|
|
|
|
table: "EFRating");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|