| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563 |
- namespace WePlatform.Migrations
- {
- using System;
- using System.Collections.Generic;
- using System.Data.Entity.Infrastructure.Annotations;
- using System.Data.Entity.Migrations;
-
- public partial class AddWeInfo : DbMigration
- {
- public override void Up()
- {
- CreateTable(
- "dbo.WeLib_Behaviors",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- SceneCategory = c.String(maxLength: 128),
- BehaviorTag = c.String(maxLength: 500),
- Description = c.String(maxLength: 500),
- RoleLogicType = c.Int(nullable: false),
- RuleKeyword = c.String(maxLength: 500),
- IsDeleted = c.Boolean(nullable: false),
- DeleterUserId = c.Long(),
- DeletionTime = c.DateTime(),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- },
- annotations: new Dictionary<string, object>
- {
- { "DynamicFilter_BehaviorInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.DeleterUserId)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .ForeignKey("dbo.WeBase_SceneCategories", t => t.SceneCategory)
- .Index(t => t.SceneCategory)
- .Index(t => t.IsDeleted)
- .Index(t => t.DeleterUserId)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeBase_BehaviorRoles",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- RoleName = c.String(maxLength: 50),
- Description = c.String(maxLength: 500),
- SceneCategory = c.String(maxLength: 128),
- Remark = c.String(maxLength: 500),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .ForeignKey("dbo.WeBase_SceneCategories", t => t.SceneCategory)
- .Index(t => t.SceneCategory)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeBase_SceneCategories",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- ParentNo = c.String(maxLength: 128),
- CategoryName = c.String(maxLength: 50),
- CategoryPath = c.String(maxLength: 500),
- Sort = c.Int(nullable: false),
- Description = c.String(maxLength: 500),
- Remark = c.String(maxLength: 500),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .ForeignKey("dbo.WeBase_SceneCategories", t => t.ParentNo)
- .Index(t => t.ParentNo)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeLib_BehaviorKnowledges",
- c => new
- {
- Id = c.Int(nullable: false, identity: true),
- BehaviorNo = c.String(maxLength: 128),
- KnowledgeNo = c.String(maxLength: 128),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.WeLib_Behaviors", t => t.BehaviorNo)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.WeLib_Knowledges", t => t.KnowledgeNo)
- .Index(t => t.BehaviorNo)
- .Index(t => t.KnowledgeNo)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeLib_Knowledges",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- Name = c.String(maxLength: 50),
- Description = c.String(maxLength: 500),
- Remark = c.String(maxLength: 500),
- IsDeleted = c.Boolean(nullable: false),
- DeleterUserId = c.Long(),
- DeletionTime = c.DateTime(),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- },
- annotations: new Dictionary<string, object>
- {
- { "DynamicFilter_KnowledgeInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.DeleterUserId)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .Index(t => t.IsDeleted)
- .Index(t => t.DeleterUserId)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeModel_Engines",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- EngineName = c.String(maxLength: 50),
- Version = c.String(maxLength: 50),
- Description = c.String(maxLength: 500),
- RunnerClassName = c.String(maxLength: 200),
- ScoreEvalClassName = c.String(maxLength: 200),
- Remark = c.String(maxLength: 500),
- IsDeleted = c.Boolean(nullable: false),
- DeleterUserId = c.Long(),
- DeletionTime = c.DateTime(),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- },
- annotations: new Dictionary<string, object>
- {
- { "DynamicFilter_EngineInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.DeleterUserId)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .Index(t => t.IsDeleted)
- .Index(t => t.DeleterUserId)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeModel_EngineModels",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- ModelName = c.String(maxLength: 50),
- Version = c.String(maxLength: 50),
- Description = c.String(maxLength: 500),
- ModelType = c.Int(nullable: false),
- EngineNo = c.String(maxLength: 128),
- Remark = c.String(maxLength: 500),
- IsDeleted = c.Boolean(nullable: false),
- DeleterUserId = c.Long(),
- DeletionTime = c.DateTime(),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- },
- annotations: new Dictionary<string, object>
- {
- { "DynamicFilter_EngineModelInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.DeleterUserId)
- .ForeignKey("dbo.WeModel_Engines", t => t.EngineNo)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .Index(t => t.EngineNo)
- .Index(t => t.IsDeleted)
- .Index(t => t.DeleterUserId)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeLib_EnvironResources",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- ResourceName = c.String(maxLength: 50),
- ResourceType = c.Int(nullable: false),
- ResourcePath = c.String(maxLength: 500),
- Description = c.String(maxLength: 500),
- MessageCode = c.String(maxLength: 20),
- Remark = c.String(maxLength: 500),
- IsDeleted = c.Boolean(nullable: false),
- DeleterUserId = c.Long(),
- DeletionTime = c.DateTime(),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- },
- annotations: new Dictionary<string, object>
- {
- { "DynamicFilter_EnvironResourceInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.DeleterUserId)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .Index(t => t.MessageCode, unique: true)
- .Index(t => t.IsDeleted)
- .Index(t => t.DeleterUserId)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeLib_Guides",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- Name = c.String(maxLength: 50),
- Description = c.String(maxLength: 500),
- GuideType = c.Int(nullable: false),
- Remark = c.String(maxLength: 500),
- IsDeleted = c.Boolean(nullable: false),
- DeleterUserId = c.Long(),
- DeletionTime = c.DateTime(),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- },
- annotations: new Dictionary<string, object>
- {
- { "DynamicFilter_GuideInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.DeleterUserId)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .Index(t => t.IsDeleted)
- .Index(t => t.DeleterUserId)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeLib_Packages",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- PackageName = c.String(maxLength: 50),
- SceneCategory = c.String(maxLength: 128),
- EngineModelNo = c.String(maxLength: 128),
- MasterPlanner = c.String(maxLength: 50),
- Planner = c.String(maxLength: 500),
- ContentInfo = c.String(),
- PackageState = c.Int(nullable: false),
- IsDeleted = c.Boolean(nullable: false),
- DeleterUserId = c.Long(),
- DeletionTime = c.DateTime(),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- },
- annotations: new Dictionary<string, object>
- {
- { "DynamicFilter_PackageInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.DeleterUserId)
- .ForeignKey("dbo.WeModel_EngineModels", t => t.EngineModelNo)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .ForeignKey("dbo.WeBase_SceneCategories", t => t.SceneCategory)
- .Index(t => t.SceneCategory)
- .Index(t => t.EngineModelNo)
- .Index(t => t.IsDeleted)
- .Index(t => t.DeleterUserId)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeLib_SceneBehaviors",
- c => new
- {
- Id = c.Int(nullable: false, identity: true),
- SceneNo = c.String(maxLength: 128),
- BehaviorNo = c.String(maxLength: 128),
- BehaviorEvalType = c.Int(nullable: false),
- BehaviorWeight = c.Decimal(nullable: false, precision: 18, scale: 2),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.WeLib_Behaviors", t => t.BehaviorNo)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.WeLib_Scenes", t => t.SceneNo)
- .Index(t => t.SceneNo)
- .Index(t => t.BehaviorNo)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeLib_Scenes",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- Name = c.String(maxLength: 50),
- SceneCategory = c.String(maxLength: 128),
- SceneTag = c.String(maxLength: 200),
- Description = c.String(maxLength: 500),
- SceneType = c.Int(nullable: false),
- Remark = c.String(maxLength: 500),
- IsDeleted = c.Boolean(nullable: false),
- DeleterUserId = c.Long(),
- DeletionTime = c.DateTime(),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- },
- annotations: new Dictionary<string, object>
- {
- { "DynamicFilter_SceneInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.DeleterUserId)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .ForeignKey("dbo.WeBase_SceneCategories", t => t.SceneCategory)
- .Index(t => t.SceneCategory)
- .Index(t => t.IsDeleted)
- .Index(t => t.DeleterUserId)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.WeLib_SceneFlows",
- c => new
- {
- Id = c.String(nullable: false, maxLength: 128),
- FlowName = c.String(maxLength: 50),
- SceneCategory = c.String(maxLength: 128),
- ContentInfo = c.String(),
- SceneFlowState = c.Int(nullable: false),
- IsDeleted = c.Boolean(nullable: false),
- DeleterUserId = c.Long(),
- DeletionTime = c.DateTime(),
- LastModificationTime = c.DateTime(),
- LastModifierUserId = c.Long(),
- CreationTime = c.DateTime(nullable: false),
- CreatorUserId = c.Long(),
- },
- annotations: new Dictionary<string, object>
- {
- { "DynamicFilter_SceneFlowInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- })
- .PrimaryKey(t => t.Id)
- .ForeignKey("dbo.Sys_Users", t => t.CreatorUserId)
- .ForeignKey("dbo.Sys_Users", t => t.DeleterUserId)
- .ForeignKey("dbo.Sys_Users", t => t.LastModifierUserId)
- .ForeignKey("dbo.WeBase_SceneCategories", t => t.SceneCategory)
- .Index(t => t.SceneCategory)
- .Index(t => t.IsDeleted)
- .Index(t => t.DeleterUserId)
- .Index(t => t.LastModifierUserId)
- .Index(t => t.CreatorUserId);
-
- CreateTable(
- "dbo.BehaviorRoleInfoBehaviorInfoes",
- c => new
- {
- BehaviorRoleInfo_Id = c.String(nullable: false, maxLength: 128),
- BehaviorInfo_Id = c.String(nullable: false, maxLength: 128),
- })
- .PrimaryKey(t => new { t.BehaviorRoleInfo_Id, t.BehaviorInfo_Id })
- .ForeignKey("dbo.WeBase_BehaviorRoles", t => t.BehaviorRoleInfo_Id, cascadeDelete: true)
- .ForeignKey("dbo.WeLib_Behaviors", t => t.BehaviorInfo_Id, cascadeDelete: true)
- .Index(t => t.BehaviorRoleInfo_Id)
- .Index(t => t.BehaviorInfo_Id);
-
- }
-
- public override void Down()
- {
- DropForeignKey("dbo.WeLib_SceneFlows", "SceneCategory", "dbo.WeBase_SceneCategories");
- DropForeignKey("dbo.WeLib_SceneFlows", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_SceneFlows", "DeleterUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_SceneFlows", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_SceneBehaviors", "SceneNo", "dbo.WeLib_Scenes");
- DropForeignKey("dbo.WeLib_Scenes", "SceneCategory", "dbo.WeBase_SceneCategories");
- DropForeignKey("dbo.WeLib_Scenes", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Scenes", "DeleterUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Scenes", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_SceneBehaviors", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_SceneBehaviors", "BehaviorNo", "dbo.WeLib_Behaviors");
- DropForeignKey("dbo.WeLib_Packages", "SceneCategory", "dbo.WeBase_SceneCategories");
- DropForeignKey("dbo.WeLib_Packages", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Packages", "EngineModelNo", "dbo.WeModel_EngineModels");
- DropForeignKey("dbo.WeLib_Packages", "DeleterUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Packages", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Guides", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Guides", "DeleterUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Guides", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_EnvironResources", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_EnvironResources", "DeleterUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_EnvironResources", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeModel_EngineModels", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeModel_EngineModels", "EngineNo", "dbo.WeModel_Engines");
- DropForeignKey("dbo.WeModel_EngineModels", "DeleterUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeModel_EngineModels", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeModel_Engines", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeModel_Engines", "DeleterUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeModel_Engines", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_BehaviorKnowledges", "KnowledgeNo", "dbo.WeLib_Knowledges");
- DropForeignKey("dbo.WeLib_Knowledges", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Knowledges", "DeleterUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Knowledges", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_BehaviorKnowledges", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_BehaviorKnowledges", "BehaviorNo", "dbo.WeLib_Behaviors");
- DropForeignKey("dbo.WeLib_Behaviors", "SceneCategory", "dbo.WeBase_SceneCategories");
- DropForeignKey("dbo.WeBase_BehaviorRoles", "SceneCategory", "dbo.WeBase_SceneCategories");
- DropForeignKey("dbo.WeBase_SceneCategories", "ParentNo", "dbo.WeBase_SceneCategories");
- DropForeignKey("dbo.WeBase_SceneCategories", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeBase_SceneCategories", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeBase_BehaviorRoles", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeBase_BehaviorRoles", "CreatorUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.BehaviorRoleInfoBehaviorInfoes", "BehaviorInfo_Id", "dbo.WeLib_Behaviors");
- DropForeignKey("dbo.BehaviorRoleInfoBehaviorInfoes", "BehaviorRoleInfo_Id", "dbo.WeBase_BehaviorRoles");
- DropForeignKey("dbo.WeLib_Behaviors", "LastModifierUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Behaviors", "DeleterUserId", "dbo.Sys_Users");
- DropForeignKey("dbo.WeLib_Behaviors", "CreatorUserId", "dbo.Sys_Users");
- DropIndex("dbo.BehaviorRoleInfoBehaviorInfoes", new[] { "BehaviorInfo_Id" });
- DropIndex("dbo.BehaviorRoleInfoBehaviorInfoes", new[] { "BehaviorRoleInfo_Id" });
- DropIndex("dbo.WeLib_SceneFlows", new[] { "CreatorUserId" });
- DropIndex("dbo.WeLib_SceneFlows", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeLib_SceneFlows", new[] { "DeleterUserId" });
- DropIndex("dbo.WeLib_SceneFlows", new[] { "IsDeleted" });
- DropIndex("dbo.WeLib_SceneFlows", new[] { "SceneCategory" });
- DropIndex("dbo.WeLib_Scenes", new[] { "CreatorUserId" });
- DropIndex("dbo.WeLib_Scenes", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeLib_Scenes", new[] { "DeleterUserId" });
- DropIndex("dbo.WeLib_Scenes", new[] { "IsDeleted" });
- DropIndex("dbo.WeLib_Scenes", new[] { "SceneCategory" });
- DropIndex("dbo.WeLib_SceneBehaviors", new[] { "CreatorUserId" });
- DropIndex("dbo.WeLib_SceneBehaviors", new[] { "BehaviorNo" });
- DropIndex("dbo.WeLib_SceneBehaviors", new[] { "SceneNo" });
- DropIndex("dbo.WeLib_Packages", new[] { "CreatorUserId" });
- DropIndex("dbo.WeLib_Packages", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeLib_Packages", new[] { "DeleterUserId" });
- DropIndex("dbo.WeLib_Packages", new[] { "IsDeleted" });
- DropIndex("dbo.WeLib_Packages", new[] { "EngineModelNo" });
- DropIndex("dbo.WeLib_Packages", new[] { "SceneCategory" });
- DropIndex("dbo.WeLib_Guides", new[] { "CreatorUserId" });
- DropIndex("dbo.WeLib_Guides", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeLib_Guides", new[] { "DeleterUserId" });
- DropIndex("dbo.WeLib_Guides", new[] { "IsDeleted" });
- DropIndex("dbo.WeLib_EnvironResources", new[] { "CreatorUserId" });
- DropIndex("dbo.WeLib_EnvironResources", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeLib_EnvironResources", new[] { "DeleterUserId" });
- DropIndex("dbo.WeLib_EnvironResources", new[] { "IsDeleted" });
- DropIndex("dbo.WeLib_EnvironResources", new[] { "MessageCode" });
- DropIndex("dbo.WeModel_EngineModels", new[] { "CreatorUserId" });
- DropIndex("dbo.WeModel_EngineModels", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeModel_EngineModels", new[] { "DeleterUserId" });
- DropIndex("dbo.WeModel_EngineModels", new[] { "IsDeleted" });
- DropIndex("dbo.WeModel_EngineModels", new[] { "EngineNo" });
- DropIndex("dbo.WeModel_Engines", new[] { "CreatorUserId" });
- DropIndex("dbo.WeModel_Engines", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeModel_Engines", new[] { "DeleterUserId" });
- DropIndex("dbo.WeModel_Engines", new[] { "IsDeleted" });
- DropIndex("dbo.WeLib_Knowledges", new[] { "CreatorUserId" });
- DropIndex("dbo.WeLib_Knowledges", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeLib_Knowledges", new[] { "DeleterUserId" });
- DropIndex("dbo.WeLib_Knowledges", new[] { "IsDeleted" });
- DropIndex("dbo.WeLib_BehaviorKnowledges", new[] { "CreatorUserId" });
- DropIndex("dbo.WeLib_BehaviorKnowledges", new[] { "KnowledgeNo" });
- DropIndex("dbo.WeLib_BehaviorKnowledges", new[] { "BehaviorNo" });
- DropIndex("dbo.WeBase_SceneCategories", new[] { "CreatorUserId" });
- DropIndex("dbo.WeBase_SceneCategories", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeBase_SceneCategories", new[] { "ParentNo" });
- DropIndex("dbo.WeBase_BehaviorRoles", new[] { "CreatorUserId" });
- DropIndex("dbo.WeBase_BehaviorRoles", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeBase_BehaviorRoles", new[] { "SceneCategory" });
- DropIndex("dbo.WeLib_Behaviors", new[] { "CreatorUserId" });
- DropIndex("dbo.WeLib_Behaviors", new[] { "LastModifierUserId" });
- DropIndex("dbo.WeLib_Behaviors", new[] { "DeleterUserId" });
- DropIndex("dbo.WeLib_Behaviors", new[] { "IsDeleted" });
- DropIndex("dbo.WeLib_Behaviors", new[] { "SceneCategory" });
- DropTable("dbo.BehaviorRoleInfoBehaviorInfoes");
- DropTable("dbo.WeLib_SceneFlows",
- removedAnnotations: new Dictionary<string, object>
- {
- { "DynamicFilter_SceneFlowInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- });
- DropTable("dbo.WeLib_Scenes",
- removedAnnotations: new Dictionary<string, object>
- {
- { "DynamicFilter_SceneInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- });
- DropTable("dbo.WeLib_SceneBehaviors");
- DropTable("dbo.WeLib_Packages",
- removedAnnotations: new Dictionary<string, object>
- {
- { "DynamicFilter_PackageInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- });
- DropTable("dbo.WeLib_Guides",
- removedAnnotations: new Dictionary<string, object>
- {
- { "DynamicFilter_GuideInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- });
- DropTable("dbo.WeLib_EnvironResources",
- removedAnnotations: new Dictionary<string, object>
- {
- { "DynamicFilter_EnvironResourceInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- });
- DropTable("dbo.WeModel_EngineModels",
- removedAnnotations: new Dictionary<string, object>
- {
- { "DynamicFilter_EngineModelInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- });
- DropTable("dbo.WeModel_Engines",
- removedAnnotations: new Dictionary<string, object>
- {
- { "DynamicFilter_EngineInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- });
- DropTable("dbo.WeLib_Knowledges",
- removedAnnotations: new Dictionary<string, object>
- {
- { "DynamicFilter_KnowledgeInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- });
- DropTable("dbo.WeLib_BehaviorKnowledges");
- DropTable("dbo.WeBase_SceneCategories");
- DropTable("dbo.WeBase_BehaviorRoles");
- DropTable("dbo.WeLib_Behaviors",
- removedAnnotations: new Dictionary<string, object>
- {
- { "DynamicFilter_BehaviorInfo_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
- });
- }
- }
- }
|