blob: 33d79b33595f1c72491a9e64a2b4f8893d95d720 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using Microsoft.EntityFrameworkCore.Migrations;
namespace Timeline.Migrations
{
public partial class RemoveRolesFromUser : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "roles",
table: "users");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "roles",
table: "users",
type: "TEXT",
nullable: false,
defaultValue: "");
}
}
}
|