1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2025-06-16 00:50:28 +02:00

сделал UUID

This commit is contained in:
Nikitin Aleksandr
2024-04-05 16:53:35 +03:00
parent 1e315ab08d
commit fc2cc2612a
23 changed files with 18003 additions and 11501 deletions

View File

@ -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`
}