|
|
|
@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
|
|
|
namespace Volo.DocsTestApp.EntityFrameworkCore.Migrations
|
|
|
|
|
{
|
|
|
|
|
public partial class Added_Identity : Migration
|
|
|
|
|
public partial class Initial20181225 : Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
@ -82,12 +82,12 @@ namespace Volo.DocsTestApp.EntityFrameworkCore.Migrations
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<Guid>(nullable: false),
|
|
|
|
|
ExtraProperties = table.Column<string>(nullable: true),
|
|
|
|
|
ConcurrencyStamp = table.Column<string>(maxLength: 256, nullable: false),
|
|
|
|
|
ConcurrencyStamp = table.Column<string>(nullable: true),
|
|
|
|
|
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),
|
|
|
|
|
IsDeleted = table.Column<bool>(nullable: false, defaultValue: false),
|
|
|
|
|
DeleterId = table.Column<Guid>(nullable: true),
|
|
|
|
|
DeletionTime = table.Column<DateTime>(nullable: true),
|
|
|
|
|
TenantId = table.Column<Guid>(nullable: true),
|
|
|
|
@ -112,6 +112,28 @@ namespace Volo.DocsTestApp.EntityFrameworkCore.Migrations
|
|
|
|
|
table.PrimaryKey("PK_AbpUsers", x => x.Id);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "DocsProjects",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<Guid>(nullable: false),
|
|
|
|
|
ExtraProperties = table.Column<string>(nullable: true),
|
|
|
|
|
ConcurrencyStamp = table.Column<string>(nullable: true),
|
|
|
|
|
Name = table.Column<string>(maxLength: 128, nullable: false),
|
|
|
|
|
ShortName = table.Column<string>(maxLength: 32, nullable: false),
|
|
|
|
|
Format = table.Column<string>(nullable: true),
|
|
|
|
|
DefaultDocumentName = table.Column<string>(maxLength: 128, nullable: false),
|
|
|
|
|
NavigationDocumentName = table.Column<string>(maxLength: 128, nullable: false),
|
|
|
|
|
MinimumVersion = table.Column<string>(nullable: true),
|
|
|
|
|
DocumentStoreType = table.Column<string>(nullable: true),
|
|
|
|
|
MainWebsiteUrl = table.Column<string>(nullable: true),
|
|
|
|
|
LatestVersionBranchName = table.Column<string>(maxLength: 128, nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_DocsProjects", x => x.Id);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "AbpRoleClaims",
|
|
|
|
|
columns: table => new
|
|
|
|
@ -303,6 +325,9 @@ namespace Volo.DocsTestApp.EntityFrameworkCore.Migrations
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "AbpUserTokens");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "DocsProjects");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "AbpRoles");
|
|
|
|
|
|