mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-12-22 00:36:41 +02:00
сделал CreatedAt
This commit is contained in:
parent
f6e7c602d1
commit
c620d2ad2e
@ -227,6 +227,7 @@ func FindTextColumn(TextModel string, Table1 *types.Table, Column1 *types.Column
|
|||||||
if config.Settings.USE_DEFAULT_TEMPLATE == true {
|
if config.Settings.USE_DEFAULT_TEMPLATE == true {
|
||||||
if ColumnNameLowerCase == "created_at" {
|
if ColumnNameLowerCase == "created_at" {
|
||||||
TextAutoCreateTime = ";autoCreateTime"
|
TextAutoCreateTime = ";autoCreateTime"
|
||||||
|
TextDefaultValue = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
if ColumnNameLowerCase == "modified_at" {
|
if ColumnNameLowerCase == "modified_at" {
|
||||||
|
Loading…
Reference in New Issue
Block a user