|
|
|
@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.Migrations
|
|
|
|
|
{
|
|
|
|
|
public partial class Initial_Modules : Migration
|
|
|
|
|
public partial class Initial : Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
@ -53,6 +53,24 @@ namespace MyCompanyName.MyProjectName.Migrations
|
|
|
|
|
table.PrimaryKey("PK_AbpBackgroundJobs", x => x.Id);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "AbpClaimTypes",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<Guid>(nullable: false),
|
|
|
|
|
Name = table.Column<string>(maxLength: 256, nullable: false),
|
|
|
|
|
Required = table.Column<bool>(nullable: false),
|
|
|
|
|
IsStatic = table.Column<bool>(nullable: false),
|
|
|
|
|
Regex = table.Column<string>(maxLength: 512, nullable: true),
|
|
|
|
|
RegexDescription = table.Column<string>(maxLength: 128, nullable: true),
|
|
|
|
|
Description = table.Column<string>(maxLength: 256, nullable: true),
|
|
|
|
|
ValueType = table.Column<int>(nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_AbpClaimTypes", x => x.Id);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "AbpPermissionGrants",
|
|
|
|
|
columns: table => new
|
|
|
|
@ -76,7 +94,10 @@ namespace MyCompanyName.MyProjectName.Migrations
|
|
|
|
|
TenantId = table.Column<Guid>(nullable: true),
|
|
|
|
|
Name = table.Column<string>(maxLength: 256, nullable: false),
|
|
|
|
|
NormalizedName = table.Column<string>(maxLength: 256, nullable: false),
|
|
|
|
|
ConcurrencyStamp = table.Column<string>(nullable: true)
|
|
|
|
|
ConcurrencyStamp = table.Column<string>(nullable: true),
|
|
|
|
|
IsDefault = table.Column<bool>(nullable: false),
|
|
|
|
|
IsStatic = table.Column<bool>(nullable: false),
|
|
|
|
|
IsPublic = table.Column<bool>(nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -103,9 +124,18 @@ namespace MyCompanyName.MyProjectName.Migrations
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<Guid>(nullable: false),
|
|
|
|
|
CreationTime = table.Column<DateTime>(nullable: false),
|
|
|
|
|
CreatorId = table.Column<Guid>(nullable: true),
|
|
|
|
|
LastModificationTime = table.Column<DateTime>(nullable: true),
|
|
|
|
|
LastModifierId = table.Column<Guid>(nullable: true),
|
|
|
|
|
IsDeleted = table.Column<bool>(nullable: false),
|
|
|
|
|
DeleterId = table.Column<Guid>(nullable: true),
|
|
|
|
|
DeletionTime = table.Column<DateTime>(nullable: true),
|
|
|
|
|
TenantId = table.Column<Guid>(nullable: true),
|
|
|
|
|
UserName = table.Column<string>(maxLength: 256, nullable: false),
|
|
|
|
|
NormalizedUserName = table.Column<string>(maxLength: 256, nullable: false),
|
|
|
|
|
Name = table.Column<string>(maxLength: 64, nullable: true),
|
|
|
|
|
Surname = table.Column<string>(maxLength: 64, nullable: true),
|
|
|
|
|
Email = table.Column<string>(maxLength: 256, nullable: true),
|
|
|
|
|
NormalizedEmail = table.Column<string>(maxLength: 256, nullable: true),
|
|
|
|
|
EmailConfirmed = table.Column<bool>(nullable: false, defaultValue: false),
|
|
|
|
@ -282,8 +312,8 @@ namespace MyCompanyName.MyProjectName.Migrations
|
|
|
|
|
{
|
|
|
|
|
TenantId = table.Column<Guid>(nullable: true),
|
|
|
|
|
UserId = table.Column<Guid>(nullable: false),
|
|
|
|
|
LoginProvider = table.Column<string>(maxLength: 128, nullable: false),
|
|
|
|
|
Name = table.Column<string>(nullable: false),
|
|
|
|
|
LoginProvider = table.Column<string>(maxLength: 64, nullable: false),
|
|
|
|
|
Name = table.Column<string>(maxLength: 128, nullable: false),
|
|
|
|
|
Value = table.Column<string>(nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
@ -446,6 +476,9 @@ namespace MyCompanyName.MyProjectName.Migrations
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "AbpBackgroundJobs");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "AbpClaimTypes");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "AbpEntityPropertyChanges");
|
|
|
|
|
|