更新数据库
This commit is contained in:
@@ -190,8 +190,8 @@ namespace Atomx.Data.Migrations
|
||||
b.Property<int>("Platform")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<long>("SiteId")
|
||||
.HasColumnType("bigint");
|
||||
b.Property<int>("SiteId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<int>("Status")
|
||||
.HasColumnType("integer");
|
||||
@@ -326,8 +326,8 @@ namespace Atomx.Data.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(100)");
|
||||
|
||||
b.Property<long>("SiteId")
|
||||
.HasColumnType("bigint");
|
||||
b.Property<int>("SiteId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("Slug")
|
||||
.IsRequired()
|
||||
@@ -370,8 +370,8 @@ namespace Atomx.Data.Migrations
|
||||
b.Property<int>("Network")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<long>("SiteId")
|
||||
.HasColumnType("bigint");
|
||||
b.Property<int>("SiteId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<int>("Status")
|
||||
.HasColumnType("integer");
|
||||
@@ -394,8 +394,11 @@ namespace Atomx.Data.Migrations
|
||||
modelBuilder.Entity("Atomx.Common.Entities.Currency", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("integer");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateTime>("CreateTime")
|
||||
.HasColumnType("timestamptz");
|
||||
|
||||
@@ -430,8 +433,8 @@ namespace Atomx.Data.Migrations
|
||||
b.Property<decimal>("Rate")
|
||||
.HasColumnType("decimal(16, 4)");
|
||||
|
||||
b.Property<long>("SiteId")
|
||||
.HasColumnType("bigint");
|
||||
b.Property<int>("SiteId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("Symbolic")
|
||||
.IsRequired()
|
||||
@@ -678,8 +681,8 @@ namespace Atomx.Data.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<long>("SiteId")
|
||||
.HasColumnType("bigint");
|
||||
b.Property<int>("SiteId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("Title")
|
||||
.IsRequired()
|
||||
@@ -1223,8 +1226,8 @@ namespace Atomx.Data.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(64)");
|
||||
|
||||
b.Property<long>("SiteId")
|
||||
.HasColumnType("bigint");
|
||||
b.Property<int>("SiteId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<int>("Type")
|
||||
.HasColumnType("integer");
|
||||
@@ -1236,8 +1239,11 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
modelBuilder.Entity("Atomx.Common.Entities.SiteApp", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.HasColumnType("bigint");
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("integer");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateTime>("CreateTime")
|
||||
.HasColumnType("timestamptz");
|
||||
@@ -1330,6 +1336,40 @@ namespace Atomx.Data.Migrations
|
||||
b.ToTable("SpecificationAttributeOptions");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Atomx.Common.Entities.Tag", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Color")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(12)");
|
||||
|
||||
b.Property<int>("Count")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<DateTime>("CreateTime")
|
||||
.HasColumnType("timestamptz");
|
||||
|
||||
b.Property<int>("Enabled")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(64)");
|
||||
|
||||
b.Property<string>("Slug")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(128)");
|
||||
|
||||
b.Property<DateTime?>("UpdateTime")
|
||||
.HasColumnType("timestamptz");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Tags");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Atomx.Common.Entities.UploadFile", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
@@ -1365,8 +1405,8 @@ namespace Atomx.Data.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(128)");
|
||||
|
||||
b.Property<long>("SiteId")
|
||||
.HasColumnType("bigint");
|
||||
b.Property<int>("SiteId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<int>("Size")
|
||||
.HasColumnType("integer");
|
||||
|
||||
Reference in New Issue
Block a user