From 706c4291d6c03c910b81b541e7ea7b5d92043887 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Mon, 13 Mar 2023 00:56:14 +0800 Subject: [PATCH] Update dm database codefirst bug --- .../SqlSugar/Realization/Dm/DbMaintenance/DmDbMaintenance.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/Realization/Dm/DbMaintenance/DmDbMaintenance.cs b/Src/Asp.Net/SqlSugar/Realization/Dm/DbMaintenance/DmDbMaintenance.cs index 38acaa554..708bcbd63 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Dm/DbMaintenance/DmDbMaintenance.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Dm/DbMaintenance/DmDbMaintenance.cs @@ -239,14 +239,14 @@ namespace SqlSugar { get { - return ""; + return " null "; } } protected override string CreateTableNotNull { get { - return ""; + return " not null "; } } protected override string CreateTablePirmaryKey