mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.4 KiB
38 lines
1.4 KiB
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace AuthServer.Host.Migrations
|
|
{
|
|
public partial class Added_Feature_Management : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateTable(
|
|
name: "AbpFeatureValues",
|
|
columns: table => new
|
|
{
|
|
Id = table.Column<Guid>(nullable: false),
|
|
Name = table.Column<string>(maxLength: 128, nullable: false),
|
|
Value = table.Column<string>(maxLength: 128, nullable: false),
|
|
ProviderName = table.Column<string>(maxLength: 64, nullable: true),
|
|
ProviderKey = table.Column<string>(maxLength: 64, nullable: true)
|
|
},
|
|
constraints: table =>
|
|
{
|
|
table.PrimaryKey("PK_AbpFeatureValues", x => x.Id);
|
|
});
|
|
|
|
migrationBuilder.CreateIndex(
|
|
name: "IX_AbpFeatureValues_Name_ProviderName_ProviderKey",
|
|
table: "AbpFeatureValues",
|
|
columns: new[] { "Name", "ProviderName", "ProviderKey" });
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropTable(
|
|
name: "AbpFeatureValues");
|
|
}
|
|
}
|
|
}
|