mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-02-20 03:00:34 +08:00
【功能修复】全局:代码生成器的 tenant_id
字段增加 default 0 值不正确的问题
This commit is contained in:
parent
9eeaa11520
commit
6325ff1144
@ -23,7 +23,7 @@ CREATE TABLE IF NOT EXISTS "${table.tableName.toLowerCase()}" (
|
|||||||
"${column.columnName}" ${dataType} DEFAULT '',
|
"${column.columnName}" ${dataType} DEFAULT '',
|
||||||
#elseif (${column.columnName} == 'deleted')
|
#elseif (${column.columnName} == 'deleted')
|
||||||
"deleted" bit NOT NULL DEFAULT FALSE,
|
"deleted" bit NOT NULL DEFAULT FALSE,
|
||||||
#elseif (${column.columnName} == 'tenantId')
|
#elseif (${column.columnName} == 'tenant_id')
|
||||||
"tenant_id" bigint NOT NULL DEFAULT 0,
|
"tenant_id" bigint NOT NULL DEFAULT 0,
|
||||||
#else
|
#else
|
||||||
"${column.columnName.toLowerCase()}" ${dataType}#if (${column.nullable} == false) NOT NULL#end,
|
"${column.columnName.toLowerCase()}" ${dataType}#if (${column.nullable} == false) NOT NULL#end,
|
||||||
|
Loading…
Reference in New Issue
Block a user