¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using Microsoft.EntityFrameworkCore.Migrations; |
| | | |
| | | #nullable disable |
| | | |
| | | namespace CMS.Plugin.HIAWms.MySQL.Migrations |
| | | { |
| | | public partial class InitialCreate17 : Migration |
| | | { |
| | | protected override void Up(MigrationBuilder migrationBuilder) |
| | | { |
| | | migrationBuilder.AlterDatabase() |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsareas", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | AreaNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "åºåºç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | AreaName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "åºåºåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | AreaDesc = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "æè¿°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | AreaStatus = table.Column<int>(type: "int", nullable: false, comment: "åºåºç¶æ"), |
| | | AreaType = table.Column<int>(type: "int", nullable: false, comment: "åºåºç±»å"), |
| | | RedundantField1 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "åä½å段1 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField2 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "åä½å段2 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField3 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "åä½å段3 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | StoreCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "ä»åºä»£ç ") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | StoreName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "ä»åºåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, comment: "æåº"), |
| | | Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsareas", x => x.Id); |
| | | }, |
| | | comment: "åºåºè¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmscontainerplaces", |
| | | columns: table => new |
| | | { |
| | | PlaceNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "åºä½ç¼ç ") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "æçç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true, comment: "æ©å±å±æ§") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true, comment: "å¹¶åæ³") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "å建æ¶é´"), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", maxLength: 36, nullable: true, comment: "å建人ID", collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "ä¿®æ¹æ¶é´"), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", maxLength: 36, nullable: true, comment: "ä¿®æ¹äººID", collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "æ¯å¦å é¤"), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", maxLength: 36, nullable: true, comment: "å é¤äººID", collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "å 餿¶é´"), |
| | | CreatorName = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "å建人") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | LastModifierName = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "ä¿®æ¹äºº") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | OperationRemark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "æä½å¤æ³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | DeleteRemark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "å é¤å¤æ³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "æåº"), |
| | | Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraField1 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "æ©å±å段1") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ExtraField2 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "æ©å±å段2") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ExtraField3 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "æ©å±å段3") |
| | | .Annotation("MySql:CharSet", "utf8mb4") |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmscontainerplaces", x => new { x.PlaceNo, x.ContainerNo }); |
| | | }, |
| | | comment: "容å¨åºä½å
³ç³»è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmscontainers", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "æçç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ContainerType = table.Column<int>(type: "int", nullable: false, comment: "æçç±»å"), |
| | | ContainerStatus = table.Column<int>(type: "int", nullable: false, comment: "æçç¶æ"), |
| | | SpecLength = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "é¿åº¦"), |
| | | SpecWidth = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "宽度"), |
| | | SpecHeight = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "é«åº¦"), |
| | | LimitLength = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "éé¿"), |
| | | LimitWidth = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "é宽"), |
| | | LimitHeight = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "éé«"), |
| | | MaxWeight = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "è½½éä¸é"), |
| | | ExceptionNumber = table.Column<int>(type: "int", nullable: true, comment: "å¼å¸¸æ°é"), |
| | | MaterialNumber = table.Column<int>(type: "int", nullable: true, comment: "ç©ææ°é"), |
| | | RedundantField1 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "åä½å段1 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField2 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "åä½å段2 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField3 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "åä½å段3 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, comment: "æåº"), |
| | | Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmscontainers", x => x.Id); |
| | | }, |
| | | comment: "æçä¿¡æ¯è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsinoutstockorder", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | OrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "åæ®ç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "åæ®ç¶æ"), |
| | | MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "ç©æåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "ç©æä»¶å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "åå·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialBatch = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "æ¹æ¬¡å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | OrderType = table.Column<int>(type: "int", nullable: false, comment: "åæ®ç±»å"), |
| | | StockType = table.Column<int>(type: "int", nullable: false, comment: "æä½ç±»åï¼æä¸¾å¼ï¼"), |
| | | MaterialNumber = table.Column<int>(type: "int", nullable: false, comment: "åæ®æ°é"), |
| | | DistributeNumber = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "ä¸åæ°é"), |
| | | CompleteNumber = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "宿æ°é"), |
| | | Priority = table.Column<int>(type: "int", nullable: false, defaultValue: 1, comment: "ä¼å
级"), |
| | | PlanNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "å
³è计åç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | OperateTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "æä½æ¶é´"), |
| | | Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "æåº"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsinoutstockorder", x => x.Id); |
| | | }, |
| | | comment: "åºå
¥åºåæ®è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsinoutstockorderdetail", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | OrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "åæ®ç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | OrderType = table.Column<int>(type: "int", nullable: false, comment: "åæ®ç±»åï¼æä¸¾å¼ï¼"), |
| | | MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "ç©æä»¶å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "ç©æåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "ç©æå¯ä¸ç ") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "容å¨ç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "æºå") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialBatch = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "ç©ææ¹æ¬¡") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "æåº"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsinoutstockorderdetail", x => x.Id); |
| | | }, |
| | | comment: "åºå
¥åºåæ®æç»è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsinoutstockrecords", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | OrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "åæ®ç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "ç©æåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "ç©æä»¶å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | StockType = table.Column<int>(type: "int", nullable: false, comment: "æä½ç±»å"), |
| | | ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "容å¨ç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "æºå") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialBatch = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "ç©ææ¹æ¬¡") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | OperateTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "æä½æ¶é´"), |
| | | Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "ç©æID") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | TaskNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "ä»»å¡å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | SourcePlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "èµ·å§åºä½") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ToPlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "ç®æ åºä½") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, comment: "æåº"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsinoutstockrecords", x => x.Id); |
| | | }, |
| | | comment: "åºå
¥åºè®°å½è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsmaterialcontainer", |
| | | columns: table => new |
| | | { |
| | | ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "æçç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "ç©æID") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true), |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsmaterialcontainer", x => new { x.MaterialId, x.ContainerNo }); |
| | | }, |
| | | comment: "ç©æå®¹å¨å
³ç³»è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsmaterialinfos", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "ç©æä»£å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "ç©æåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "æºå/è§æ ¼") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "ç©æå¯ä¸ç ") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | StockNumber = table.Column<int>(type: "int", nullable: true, comment: "åºåæ°é"), |
| | | MaterialBatch = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "ç©ææ¹å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | SupplierCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "ä¾åºåç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CheckStatus = table.Column<int>(type: "int", nullable: true, comment: "æ£éªç¶æ(0:æªæ£éª,1:æ£éªéè¿,2:æ£éªä¸éè¿)"), |
| | | RedundantField1 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "åä½å段1") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField2 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "åä½å段2") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField3 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "åä½å段3") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "æåº"), |
| | | Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsmaterialinfos", x => x.Id); |
| | | }, |
| | | comment: "WMSç©æä¿¡æ¯è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsmaterials", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | MaterialNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "ç©æç¼ç ï¼å¯ä¸æ è¯ï¼") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "ç©æåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialModel = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "åå·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | PurchaseType = table.Column<int>(type: "int", nullable: false, comment: "éè´ç±»åï¼æä¸¾å¼ï¼"), |
| | | MaterialTypeCode = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "ç©æç±»åç¼ç ") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialTypeDesc = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "ç©æç±»å") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | PrimaryUnit = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "主åä½ï¼å¦ï¼kgãmã个ï¼") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Standard = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "è§æ ¼/æ åï¼å¦ï¼GB/T 8163-2018ï¼") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | OuterDiameter = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "å¤å¾ï¼åä½ï¼mmï¼"), |
| | | WallThickness = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "å£åï¼åä½ï¼mmï¼"), |
| | | MaterialQuality = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "æè´¨ï¼å¦ï¼304ä¸éé¢ï¼") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Length = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "é¿åº¦ï¼åä½ï¼mï¼"), |
| | | IsMainBranch = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "æ¯å¦ä¸ºä¸»æ¯ç®¡"), |
| | | Factory = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "ç产工å") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Certification = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "è¯ä¹¦ç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField1 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "åä½å段1 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField2 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "åä½å段2 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField3 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "åä½å段3 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "æåº"), |
| | | Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsmaterials", x => x.Id); |
| | | }, |
| | | comment: "ç©æåºç¡ä¿¡æ¯è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsmaterialstocks", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "ç©æID") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "ç©æåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ContainerNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "容å¨ç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ContainerStatus = table.Column<int>(type: "int", nullable: false, comment: "容å¨ç¶æ"), |
| | | ContainerType = table.Column<int>(type: "int", nullable: false, comment: "容å¨ç±»å"), |
| | | MaterialNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "ç©æç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | StockNumber = table.Column<int>(type: "int", nullable: false, comment: "åºåæ°é"), |
| | | MaterialBatch = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "ç©ææ¹æ¬¡") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | SupplierCode = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "ä¾åºåç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialModel = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "æºå/è§æ ¼") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | PlaceNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "åºä½ç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | PlaceStatus = table.Column<int>(type: "int", nullable: false, comment: "åºä½ç¶æ;"), |
| | | StorageTypeNo = table.Column<int>(type: "int", nullable: false, comment: "åºä½ç±»å"), |
| | | AreaCode = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "åºåç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | AreaName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "åºåºåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CheckStatus = table.Column<int>(type: "int", nullable: true, comment: "æ£éªç¶æ(1:æªæ£éª,2:æ£éªéè¿,3:æ£éªä¸éè¿)"), |
| | | IsLock = table.Column<int>(type: "int", nullable: false, comment: "æ¯å¦éå®(2:æªéå®,1:å·²éå®)"), |
| | | EmptyContainer = table.Column<int>(type: "int", nullable: false, comment: "æ¯å¦ç©ºæ(2:å¦,1:æ¯)"), |
| | | InStockTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "å
¥åºæ¶é´"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "æåº"), |
| | | Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField1 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "åä½å段1 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField2 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "åä½å段2 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField3 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "åä½å段3 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsmaterialstocks", x => x.Id); |
| | | }, |
| | | comment: "WMSç©æåºå表") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsmaterialtype", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | MaterialTypeDesc = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "ç±»åæè¿°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MaterialTypeCode = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "ç±»åç¼ç ") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "å建æ¶é´"), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "å建人ID", collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "æåä¿®æ¹æ¶é´"), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "æåä¿®æ¹äººID", collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "æ¯å¦å·²å é¤"), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "å é¤äººID", collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "å 餿¶é´"), |
| | | CreatorName = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | LastModifierName = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | OperationRemark = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | DeleteRemark = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false), |
| | | Remark = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true), |
| | | ExtraField1 = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ExtraField2 = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ExtraField3 = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4") |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsmaterialtype", x => x.Id); |
| | | }, |
| | | comment: "ç©æç±»å表") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsplaces", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | PlaceNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "ç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | StorageTypeNo = table.Column<int>(type: "int", nullable: false, comment: "è´§ä½ç±»å"), |
| | | PlaceStatus = table.Column<int>(type: "int", nullable: false, comment: "è´§ä½ç¶æ"), |
| | | AreaCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "æå¨åºåº") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Aisle = table.Column<int>(type: "int", nullable: false, comment: "å··é"), |
| | | RowNo = table.Column<int>(type: "int", nullable: false, comment: "æ"), |
| | | ColumnNo = table.Column<int>(type: "int", nullable: false, comment: "å"), |
| | | LayerNo = table.Column<int>(type: "int", nullable: false, comment: "å±"), |
| | | Islock = table.Column<int>(type: "int", nullable: false, comment: "æ¯å¦éå®"), |
| | | EmptyContainer = table.Column<int>(type: "int", nullable: false, comment: "æ¯å¦ç©ºæ"), |
| | | MaxStockNumber = table.Column<int>(type: "int", nullable: false, comment: "æå¤§åºåé"), |
| | | RedundantField1 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "åä½å段1 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField2 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "åä½å段2 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField3 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "åä½å段3 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, comment: "æåº"), |
| | | Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsplaces", x => x.Id); |
| | | }, |
| | | comment: "åºä½è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmsstores", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | StoreCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "ä»åºä»£ç ") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | StoreName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "ä»åºåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField1 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "åä½å段1 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField2 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "åä½å段2 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | RedundantField3 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "åä½å段3 - é¢çæ©å±ç¨é") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "夿³¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, comment: "æåº"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmsstores", x => x.Id); |
| | | }, |
| | | comment: "ä»åºä¿¡æ¯è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateTable( |
| | | name: "scms_wmstasks", |
| | | columns: table => new |
| | | { |
| | | Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), |
| | | TaskNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "ä»»å¡å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | TaskType = table.Column<int>(type: "int", nullable: false, comment: "ä»»å¡ç±»å"), |
| | | TaskLevel = table.Column<int>(type: "int", nullable: false, comment: "ä»»å¡ç级"), |
| | | TaskStatus = table.Column<int>(type: "int", nullable: false, comment: "ä»»å¡ç¶æ"), |
| | | ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "æçç¼å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | SourcePlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "èµ·å§åºä½") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ToPlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "ç®æ åºä½") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Aisle = table.Column<int>(type: "int", nullable: true, comment: "å··é"), |
| | | DodeviceId = table.Column<int>(type: "int", nullable: true, comment: "å åæºID"), |
| | | Dodevicetype = table.Column<int>(type: "int", nullable: false, comment: "设å¤ç±»å"), |
| | | TaskDodeviceStatus = table.Column<int>(type: "int", nullable: false, comment: "设å¤ä»»å¡ç¶æ"), |
| | | IsRead = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "WCSæ¯å¦å¯ä»¥è¯»å"), |
| | | SonTaskType = table.Column<int>(type: "int", nullable: true, comment: "åä»»å¡ç±»å"), |
| | | SourceOrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "æ¥æºåæ®å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | IsNextTask = table.Column<int>(type: "int", nullable: true, comment: "ä¸ä¸ªä»»å¡æ¯å¦çææå"), |
| | | PlcTaskId = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "ä»»å¡ç¶æ"), |
| | | MutableParam1 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "å¯ååé1") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MutableParam2 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "å¯ååé2") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | MutableParam3 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "å¯ååé3") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | Sort = table.Column<int>(type: "int", nullable: false, comment: "æåº"), |
| | | IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "æ¯å¦ç¦ç¨"), |
| | | ExtraProperties = table.Column<string>(type: "longtext", nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true) |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false), |
| | | CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true), |
| | | LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false), |
| | | DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"), |
| | | DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true) |
| | | }, |
| | | constraints: table => |
| | | { |
| | | table.PrimaryKey("PK_scms_wmstasks", x => x.Id); |
| | | }, |
| | | comment: "ä»»å¡è¡¨") |
| | | .Annotation("MySql:CharSet", "utf8mb4"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsareas_AreaName", |
| | | table: "scms_wmsareas", |
| | | column: "AreaName"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmscontainerplaces_ContainerNo", |
| | | table: "scms_wmscontainerplaces", |
| | | column: "ContainerNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmscontainerplaces_PlaceNo", |
| | | table: "scms_wmscontainerplaces", |
| | | column: "PlaceNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmscontainers_ContainerNo", |
| | | table: "scms_wmscontainers", |
| | | column: "ContainerNo", |
| | | unique: true); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmscontainers_ContainerStatus", |
| | | table: "scms_wmscontainers", |
| | | column: "ContainerStatus"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmscontainers_ContainerType", |
| | | table: "scms_wmscontainers", |
| | | column: "ContainerType"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorder_MaterialBatch", |
| | | table: "scms_wmsinoutstockorder", |
| | | column: "MaterialBatch"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorder_MaterialNo", |
| | | table: "scms_wmsinoutstockorder", |
| | | column: "MaterialNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorder_OperateTime", |
| | | table: "scms_wmsinoutstockorder", |
| | | column: "OperateTime"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorder_OrderNo", |
| | | table: "scms_wmsinoutstockorder", |
| | | column: "OrderNo", |
| | | unique: true); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorder_PlanNo", |
| | | table: "scms_wmsinoutstockorder", |
| | | column: "PlanNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorderdetail_ContainerNo", |
| | | table: "scms_wmsinoutstockorderdetail", |
| | | column: "ContainerNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorderdetail_MaterialId", |
| | | table: "scms_wmsinoutstockorderdetail", |
| | | column: "MaterialId"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorderdetail_MaterialNo", |
| | | table: "scms_wmsinoutstockorderdetail", |
| | | column: "MaterialNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorderdetail_OrderNo", |
| | | table: "scms_wmsinoutstockorderdetail", |
| | | column: "OrderNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockorderdetail_OrderNo_OrderType", |
| | | table: "scms_wmsinoutstockorderdetail", |
| | | columns: new[] { "OrderNo", "OrderType" }); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockrecords_ContainerNo", |
| | | table: "scms_wmsinoutstockrecords", |
| | | column: "ContainerNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockrecords_MaterialId", |
| | | table: "scms_wmsinoutstockrecords", |
| | | column: "MaterialId"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockrecords_MaterialNo", |
| | | table: "scms_wmsinoutstockrecords", |
| | | column: "MaterialNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockrecords_OperateTime", |
| | | table: "scms_wmsinoutstockrecords", |
| | | column: "OperateTime"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockrecords_OrderNo", |
| | | table: "scms_wmsinoutstockrecords", |
| | | column: "OrderNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockrecords_StockType", |
| | | table: "scms_wmsinoutstockrecords", |
| | | column: "StockType"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsinoutstockrecords_TaskNo", |
| | | table: "scms_wmsinoutstockrecords", |
| | | column: "TaskNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialcontainer_ContainerNo", |
| | | table: "scms_wmsmaterialcontainer", |
| | | column: "ContainerNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialcontainer_MaterialId", |
| | | table: "scms_wmsmaterialcontainer", |
| | | column: "MaterialId"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialinfos_CheckStatus", |
| | | table: "scms_wmsmaterialinfos", |
| | | column: "CheckStatus"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialinfos_MaterialBatch", |
| | | table: "scms_wmsmaterialinfos", |
| | | column: "MaterialBatch"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialinfos_MaterialId", |
| | | table: "scms_wmsmaterialinfos", |
| | | column: "MaterialId", |
| | | unique: true); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialinfos_MaterialName", |
| | | table: "scms_wmsmaterialinfos", |
| | | column: "MaterialName"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialinfos_MaterialNo", |
| | | table: "scms_wmsmaterialinfos", |
| | | column: "MaterialNo", |
| | | unique: true); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialinfos_SupplierCode", |
| | | table: "scms_wmsmaterialinfos", |
| | | column: "SupplierCode"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterials_MaterialName", |
| | | table: "scms_wmsmaterials", |
| | | column: "MaterialName"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterials_MaterialNo", |
| | | table: "scms_wmsmaterials", |
| | | column: "MaterialNo", |
| | | unique: true); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterials_MaterialTypeCode", |
| | | table: "scms_wmsmaterials", |
| | | column: "MaterialTypeCode"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterials_PurchaseType", |
| | | table: "scms_wmsmaterials", |
| | | column: "PurchaseType"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialstocks_AreaCode", |
| | | table: "scms_wmsmaterialstocks", |
| | | column: "AreaCode"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialstocks_ContainerNo", |
| | | table: "scms_wmsmaterialstocks", |
| | | column: "ContainerNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialstocks_MaterialBatch_SupplierCode", |
| | | table: "scms_wmsmaterialstocks", |
| | | columns: new[] { "MaterialBatch", "SupplierCode" }); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialstocks_MaterialName", |
| | | table: "scms_wmsmaterialstocks", |
| | | column: "MaterialName"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialstocks_MaterialNo", |
| | | table: "scms_wmsmaterialstocks", |
| | | column: "MaterialNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialstocks_PlaceNo", |
| | | table: "scms_wmsmaterialstocks", |
| | | column: "PlaceNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialtype_MaterialTypeCode", |
| | | table: "scms_wmsmaterialtype", |
| | | column: "MaterialTypeCode", |
| | | unique: true); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsmaterialtype_MaterialTypeDesc", |
| | | table: "scms_wmsmaterialtype", |
| | | column: "MaterialTypeDesc"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsplaces_AreaCode", |
| | | table: "scms_wmsplaces", |
| | | column: "AreaCode"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsplaces_PlaceNo", |
| | | table: "scms_wmsplaces", |
| | | column: "PlaceNo", |
| | | unique: true); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsplaces_PlaceStatus", |
| | | table: "scms_wmsplaces", |
| | | column: "PlaceStatus"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsplaces_StorageTypeNo", |
| | | table: "scms_wmsplaces", |
| | | column: "StorageTypeNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmsstores_StoreName", |
| | | table: "scms_wmsstores", |
| | | column: "StoreName"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_ContainerNo", |
| | | table: "scms_wmstasks", |
| | | column: "ContainerNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_DodeviceId", |
| | | table: "scms_wmstasks", |
| | | column: "DodeviceId"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_IsRead", |
| | | table: "scms_wmstasks", |
| | | column: "IsRead"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_Sort", |
| | | table: "scms_wmstasks", |
| | | column: "Sort"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_SourceOrderNo", |
| | | table: "scms_wmstasks", |
| | | column: "SourceOrderNo"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_SourcePlace", |
| | | table: "scms_wmstasks", |
| | | column: "SourcePlace"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_TaskNo", |
| | | table: "scms_wmstasks", |
| | | column: "TaskNo", |
| | | unique: true); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_TaskStatus", |
| | | table: "scms_wmstasks", |
| | | column: "TaskStatus"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_TaskType", |
| | | table: "scms_wmstasks", |
| | | column: "TaskType"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_wmstasks_ToPlace", |
| | | table: "scms_wmstasks", |
| | | column: "ToPlace"); |
| | | } |
| | | |
| | | protected override void Down(MigrationBuilder migrationBuilder) |
| | | { |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsareas"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmscontainerplaces"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmscontainers"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsinoutstockorder"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsinoutstockorderdetail"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsinoutstockrecords"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsmaterialcontainer"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsmaterialinfos"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsmaterials"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsmaterialstocks"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsmaterialtype"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsplaces"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmsstores"); |
| | | |
| | | migrationBuilder.DropTable( |
| | | name: "scms_wmstasks"); |
| | | } |
| | | } |
| | | } |