更改数据库字段

This commit is contained in:
橙子
2021-10-20 15:40:19 +08:00
parent 4793297f5e
commit dcb51eb212
9 changed files with 329 additions and 31 deletions

View File

@@ -28,10 +28,10 @@ namespace Yi.Framework.Model.Migrations
b.Property<int>("is_delete")
.HasColumnType("INTEGER");
b.Property<int?>("is_show")
b.Property<int>("is_show")
.HasColumnType("INTEGER");
b.Property<int?>("is_top")
b.Property<int>("is_top")
.HasColumnType("INTEGER");
b.Property<string>("menu_name")
@@ -46,7 +46,7 @@ namespace Yi.Framework.Model.Migrations
b.Property<string>("router")
.HasColumnType("TEXT");
b.Property<int?>("sort")
b.Property<int>("sort")
.HasColumnType("INTEGER");
b.HasKey("id");
@@ -104,6 +104,9 @@ namespace Yi.Framework.Model.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("address")
.HasColumnType("TEXT");
b.Property<int?>("age")
.HasColumnType("INTEGER");
@@ -128,6 +131,9 @@ namespace Yi.Framework.Model.Migrations
b.Property<string>("password")
.HasColumnType("TEXT");
b.Property<int?>("phone")
.HasColumnType("INTEGER");
b.Property<string>("username")
.HasColumnType("TEXT");