1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2024-12-22 00:36:41 +02:00

сделал CreatedAt

This commit is contained in:
Nikitin Aleksandr 2023-12-25 17:39:27 +03:00
parent f6e7c602d1
commit c620d2ad2e

View File

@ -227,6 +227,7 @@ func FindTextColumn(TextModel string, Table1 *types.Table, Column1 *types.Column
if config.Settings.USE_DEFAULT_TEMPLATE == true {
if ColumnNameLowerCase == "created_at" {
TextAutoCreateTime = ";autoCreateTime"
TextDefaultValue = ""
}
if ColumnNameLowerCase == "modified_at" {