blob: 7800d3a99bc46f76f061d1c2f0f315b848a6f2a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace DevHive.Data.Migrations
{
public partial class Rating_ManyToMany_Configured : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "PostId",
table: "Rating",
type: "uuid",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PostId",
table: "Rating");
}
}
}
|