mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-11-24 08:22:42 +02:00
сделал Replace_Postgres_ID_Test_ManyPK()
This commit is contained in:
parent
5e5f74be0d
commit
e5296fe60a
@ -982,8 +982,9 @@ func CreateFilesCacheTest(Table1 *types.Table) error {
|
||||
//TextIDMany := create_files.FindTextNameTest_ManyPK(Table1)
|
||||
//TextCache = strings.ReplaceAll(TextCache, "ReadFromCache(Postgres_ID_Test)", "ReadFromCache("+TextIDMany+")")
|
||||
//TextCache = create_files.Replace_Postgres_ID_Test(TextCache, Table1)
|
||||
//EntityURL := create_files.FindModelTableURL(Table1.Name)
|
||||
//TextCache = create_files.CheckAndAddImport(TextCache, EntityURL)
|
||||
EntityURL := create_files.FindModelTableURL(Table1.Name)
|
||||
TextCache = create_files.AddImport(TextCache, EntityURL)
|
||||
|
||||
TextCache = create_files.Replace_Postgres_ID_Test_ManyPK(TextCache, Table1)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user