mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-12 04:29:28 +08:00
更改数据库字段
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user