You've already forked crud_generator
mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2025-06-16 00:50:28 +02:00
сделал UUID
This commit is contained in:
@ -346,8 +346,8 @@ func FillIDMinimum(MapTable map[string]*types.Table) {
|
||||
WHERE
|
||||
"` + NameID + `" <> ` + DefaultValueSQL
|
||||
} else {
|
||||
TextSQL = `SELECT "` + NameID + `" as id_minimum FROM "` + Schema + `"."` + TableName + `
|
||||
" WHERE "` + NameID + `" is not null
|
||||
TextSQL = `SELECT "` + NameID + `" as id_minimum FROM "` + Schema + `"."` + TableName + `"
|
||||
WHERE "` + NameID + `" is not null
|
||||
ORDER BY ` + NameID + `
|
||||
LIMIT 1`
|
||||
}
|
||||
|
Reference in New Issue
Block a user