完善语言文件的生成
This commit is contained in:
@@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Atomx.Data.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20251203190956_0.1")]
|
||||
[Migration("20251214094758_0.1")]
|
||||
partial class _01
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@@ -20,7 +20,7 @@ namespace Atomx.Data.Migrations
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "10.0.0")
|
||||
.HasAnnotation("ProductVersion", "10.0.1")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
@@ -43,7 +43,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Company")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("Count")
|
||||
.HasColumnType("integer");
|
||||
@@ -60,7 +60,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Email")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("FullAddress")
|
||||
.IsRequired()
|
||||
@@ -254,7 +254,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("NumericISOCode")
|
||||
.HasColumnType("integer");
|
||||
@@ -282,7 +282,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Banner")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("Count")
|
||||
.HasColumnType("integer");
|
||||
@@ -301,22 +301,22 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("FilterAttributes")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Image")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<bool>("IsNode")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<string>("MetaDescription")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("MetaKeywords")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
@@ -470,7 +470,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("FlagImage")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
@@ -478,7 +478,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("ResourceVersion")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(25)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Title")
|
||||
.IsRequired()
|
||||
@@ -502,7 +502,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<DateTime?>("UpdateTime")
|
||||
.HasColumnType("timestamptz");
|
||||
@@ -526,7 +526,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Key")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("LanguageNumber")
|
||||
.HasColumnType("integer");
|
||||
@@ -566,7 +566,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Icon")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<bool>("IsLink")
|
||||
.HasColumnType("boolean");
|
||||
@@ -594,7 +594,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Url")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
@@ -646,7 +646,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Account")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Config")
|
||||
.IsRequired()
|
||||
@@ -698,7 +698,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
@@ -736,7 +736,7 @@ namespace Atomx.Data.Migrations
|
||||
.HasColumnType("timestamptz");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("DisplayOrder")
|
||||
.HasColumnType("integer");
|
||||
@@ -746,7 +746,7 @@ namespace Atomx.Data.Migrations
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Feature")
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Image")
|
||||
.HasColumnType("varchar(256)");
|
||||
@@ -804,7 +804,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Title")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<DateTime?>("UpdateTime")
|
||||
.HasColumnType("timestamptz");
|
||||
@@ -890,7 +890,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Note")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<decimal>("Price")
|
||||
.HasColumnType("decimal(18,4)");
|
||||
@@ -1001,7 +1001,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Image")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<bool>("IsAddWeight")
|
||||
.HasColumnType("boolean");
|
||||
@@ -1086,7 +1086,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Note")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<long?>("Operator")
|
||||
.HasColumnType("bigint");
|
||||
@@ -1170,7 +1170,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<bool>("Enabled")
|
||||
.HasColumnType("boolean");
|
||||
@@ -19,9 +19,9 @@ namespace Atomx.Data.Migrations
|
||||
Id = table.Column<long>(type: "bigint", nullable: false),
|
||||
UserId = table.Column<long>(type: "bigint", nullable: false),
|
||||
Name = table.Column<string>(type: "varchar(128)", nullable: false),
|
||||
Email = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Email = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Phone = table.Column<string>(type: "varchar(20)", nullable: false),
|
||||
Company = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Company = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
CountryId = table.Column<long>(type: "bigint", nullable: false),
|
||||
Country = table.Column<string>(type: "varchar(50)", nullable: false),
|
||||
ProvinceId = table.Column<long>(type: "bigint", nullable: false),
|
||||
@@ -102,7 +102,7 @@ namespace Atomx.Data.Migrations
|
||||
{
|
||||
Id = table.Column<long>(type: "bigint", nullable: false),
|
||||
ParentId = table.Column<long>(type: "bigint", nullable: false),
|
||||
Name = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Name = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Initial = table.Column<string>(type: "varchar(1)", nullable: false),
|
||||
TwoLetterISOCode = table.Column<string>(type: "varchar(2)", nullable: false),
|
||||
ThreeLetterISOCode = table.Column<string>(type: "varchar(3)", nullable: false),
|
||||
@@ -126,11 +126,11 @@ namespace Atomx.Data.Migrations
|
||||
ParentId = table.Column<long>(type: "bigint", nullable: false),
|
||||
Name = table.Column<string>(type: "varchar(25)", nullable: false),
|
||||
Slug = table.Column<string>(type: "varchar(50)", nullable: false),
|
||||
MetaDescription = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
MetaKeywords = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
FilterAttributes = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Image = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Banner = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
MetaDescription = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
MetaKeywords = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
FilterAttributes = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Image = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Banner = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
IsNode = table.Column<bool>(type: "boolean", nullable: false),
|
||||
Enabled = table.Column<bool>(type: "boolean", nullable: false),
|
||||
Depth = table.Column<int>(type: "integer", nullable: false),
|
||||
@@ -200,10 +200,10 @@ namespace Atomx.Data.Migrations
|
||||
Name = table.Column<string>(type: "varchar(50)", nullable: false),
|
||||
Title = table.Column<string>(type: "varchar(50)", nullable: false),
|
||||
Culture = table.Column<string>(type: "varchar(25)", nullable: false),
|
||||
FlagImage = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
FlagImage = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
DisplayOrder = table.Column<int>(type: "integer", nullable: false),
|
||||
Enabled = table.Column<bool>(type: "boolean", nullable: false),
|
||||
ResourceVersion = table.Column<string>(type: "varchar(25)", nullable: false),
|
||||
ResourceVersion = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
CreateTime = table.Column<DateTime>(type: "timestamptz", nullable: false),
|
||||
UpdateTime = table.Column<DateTime>(type: "timestamptz", nullable: true)
|
||||
},
|
||||
@@ -218,7 +218,7 @@ namespace Atomx.Data.Migrations
|
||||
{
|
||||
Id = table.Column<long>(type: "bigint", nullable: false),
|
||||
LanguageId = table.Column<int>(type: "integer", nullable: false),
|
||||
Name = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Name = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Value = table.Column<string>(type: "varchar(1000)", nullable: false),
|
||||
UpdateTime = table.Column<DateTime>(type: "timestamptz", nullable: true)
|
||||
},
|
||||
@@ -235,7 +235,7 @@ namespace Atomx.Data.Migrations
|
||||
LanguageNumber = table.Column<int>(type: "integer", nullable: false),
|
||||
Type = table.Column<int>(type: "integer", nullable: false),
|
||||
EntityId = table.Column<long>(type: "bigint", nullable: false),
|
||||
Key = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Key = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Value = table.Column<string>(type: "text", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
@@ -251,9 +251,9 @@ namespace Atomx.Data.Migrations
|
||||
Type = table.Column<int>(type: "integer", nullable: false),
|
||||
ParentId = table.Column<long>(type: "bigint", nullable: false),
|
||||
Name = table.Column<string>(type: "varchar(50)", nullable: false),
|
||||
Icon = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Icon = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Key = table.Column<string>(type: "varchar(50)", nullable: false),
|
||||
Url = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Url = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Code = table.Column<string>(type: "varchar(50)", nullable: false),
|
||||
IsLink = table.Column<bool>(type: "boolean", nullable: false),
|
||||
Enabled = table.Column<bool>(type: "boolean", nullable: false),
|
||||
@@ -297,7 +297,7 @@ namespace Atomx.Data.Migrations
|
||||
Name = table.Column<string>(type: "varchar(20)", nullable: false),
|
||||
Title = table.Column<string>(type: "varchar(20)", nullable: false),
|
||||
Description = table.Column<string>(type: "varchar(512)", nullable: false),
|
||||
Account = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Account = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Config = table.Column<string>(type: "text", nullable: false),
|
||||
DisplayOrder = table.Column<int>(type: "integer", nullable: false),
|
||||
Status = table.Column<int>(type: "integer", nullable: false),
|
||||
@@ -315,7 +315,7 @@ namespace Atomx.Data.Migrations
|
||||
{
|
||||
Id = table.Column<long>(type: "bigint", nullable: false),
|
||||
Name = table.Column<string>(type: "varchar(128)", nullable: false),
|
||||
Description = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Description = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Category = table.Column<string>(type: "varchar(128)", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
@@ -344,7 +344,7 @@ namespace Atomx.Data.Migrations
|
||||
MarketPrice = table.Column<decimal>(type: "numeric(18,4)", nullable: false),
|
||||
Price = table.Column<decimal>(type: "numeric(18,4)", nullable: false),
|
||||
Mark = table.Column<int>(type: "integer", nullable: false),
|
||||
Note = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Note = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Enabled = table.Column<bool>(type: "boolean", nullable: false),
|
||||
UpdateTime = table.Column<DateTime>(type: "timestamptz", nullable: true)
|
||||
},
|
||||
@@ -419,7 +419,7 @@ namespace Atomx.Data.Migrations
|
||||
OptionId = table.Column<long>(type: "bigint", nullable: false),
|
||||
ProductAttributeRelationId = table.Column<long>(type: "bigint", nullable: false),
|
||||
Name = table.Column<string>(type: "varchar(50)", nullable: false),
|
||||
Image = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Image = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Weight = table.Column<decimal>(type: "numeric(18,4)", nullable: false),
|
||||
WeightUnit = table.Column<int>(type: "integer", nullable: false),
|
||||
IsAddWeight = table.Column<bool>(type: "boolean", nullable: false),
|
||||
@@ -466,7 +466,7 @@ namespace Atomx.Data.Migrations
|
||||
Weight = table.Column<decimal>(type: "numeric(18,4)", nullable: false),
|
||||
BeforeStock = table.Column<int>(type: "integer", nullable: false),
|
||||
AfterStock = table.Column<int>(type: "integer", nullable: false),
|
||||
Note = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Note = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
CreateTime = table.Column<DateTime>(type: "timestamptz", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
@@ -486,12 +486,12 @@ namespace Atomx.Data.Migrations
|
||||
CategoryPath = table.Column<string>(type: "varchar(200)", nullable: true),
|
||||
CategoryId = table.Column<long>(type: "bigint", nullable: false),
|
||||
ManufacturerId = table.Column<long>(type: "bigint", nullable: false),
|
||||
Title = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Title = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
SIN = table.Column<string>(type: "varchar(20)", nullable: true),
|
||||
Image = table.Column<string>(type: "varchar(256)", nullable: true),
|
||||
Photos = table.Column<string>(type: "text", nullable: true),
|
||||
Feature = table.Column<string>(type: "varchar(255)", nullable: true),
|
||||
Description = table.Column<string>(type: "varchar(255)", nullable: true),
|
||||
Feature = table.Column<string>(type: "varchar(256)", nullable: true),
|
||||
Description = table.Column<string>(type: "varchar(256)", nullable: true),
|
||||
SpecificationJson = table.Column<string>(type: "text", nullable: true),
|
||||
Weight = table.Column<decimal>(type: "numeric(6,2)", nullable: true),
|
||||
MinWeight = table.Column<decimal>(type: "numeric(6,2)", nullable: true),
|
||||
@@ -544,7 +544,7 @@ namespace Atomx.Data.Migrations
|
||||
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
|
||||
Type = table.Column<int>(type: "integer", nullable: false),
|
||||
Name = table.Column<string>(type: "text", nullable: false),
|
||||
Description = table.Column<string>(type: "varchar(255)", nullable: false),
|
||||
Description = table.Column<string>(type: "varchar(256)", nullable: false),
|
||||
Permission = table.Column<string>(type: "text", nullable: false),
|
||||
IsSystemRole = table.Column<bool>(type: "boolean", nullable: false),
|
||||
Count = table.Column<int>(type: "integer", nullable: false),
|
||||
@@ -17,7 +17,7 @@ namespace Atomx.Data.Migrations
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "10.0.0")
|
||||
.HasAnnotation("ProductVersion", "10.0.1")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
@@ -40,7 +40,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Company")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("Count")
|
||||
.HasColumnType("integer");
|
||||
@@ -57,7 +57,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Email")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("FullAddress")
|
||||
.IsRequired()
|
||||
@@ -251,7 +251,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("NumericISOCode")
|
||||
.HasColumnType("integer");
|
||||
@@ -279,7 +279,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Banner")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("Count")
|
||||
.HasColumnType("integer");
|
||||
@@ -298,22 +298,22 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("FilterAttributes")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Image")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<bool>("IsNode")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<string>("MetaDescription")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("MetaKeywords")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
@@ -467,7 +467,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("FlagImage")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
@@ -475,7 +475,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("ResourceVersion")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(25)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Title")
|
||||
.IsRequired()
|
||||
@@ -499,7 +499,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<DateTime?>("UpdateTime")
|
||||
.HasColumnType("timestamptz");
|
||||
@@ -523,7 +523,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Key")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("LanguageNumber")
|
||||
.HasColumnType("integer");
|
||||
@@ -563,7 +563,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Icon")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<bool>("IsLink")
|
||||
.HasColumnType("boolean");
|
||||
@@ -591,7 +591,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Url")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
@@ -643,7 +643,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Account")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Config")
|
||||
.IsRequired()
|
||||
@@ -695,7 +695,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
@@ -733,7 +733,7 @@ namespace Atomx.Data.Migrations
|
||||
.HasColumnType("timestamptz");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<int>("DisplayOrder")
|
||||
.HasColumnType("integer");
|
||||
@@ -743,7 +743,7 @@ namespace Atomx.Data.Migrations
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Feature")
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<string>("Image")
|
||||
.HasColumnType("varchar(256)");
|
||||
@@ -801,7 +801,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Title")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<DateTime?>("UpdateTime")
|
||||
.HasColumnType("timestamptz");
|
||||
@@ -887,7 +887,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Note")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<decimal>("Price")
|
||||
.HasColumnType("decimal(18,4)");
|
||||
@@ -998,7 +998,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Image")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<bool>("IsAddWeight")
|
||||
.HasColumnType("boolean");
|
||||
@@ -1083,7 +1083,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Note")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<long?>("Operator")
|
||||
.HasColumnType("bigint");
|
||||
@@ -1167,7 +1167,7 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(255)");
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<bool>("Enabled")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
Reference in New Issue
Block a user