Page 1 of 1

5.91: new table is being created

Posted: 2020-11-05 11:44
by onoehring
Hi,

to make work faster, I copied a table, renamed it to ecomo_jobtypen.
This table is not being automatically created when I start the generated app the first time.
The generated app notices in Admin -> Rebuilt fields, that they are missing - but the table itself is not even existing.

This seems to be similar to a bug that I have had before: Copying a field or creating and immediately renaming it creates it wrong in the database when the app is run the first time.
table_missing_3.png
table_missing_3.png (32.02 KiB) Viewed 1922 times
Olaf

Re: 5.91: new table is being created

Posted: 2020-11-05 13:14
by onoehring
Hi,

I removed the table from the axp file completely and removed the table I created by hand from the database as well.
Then I created another table in AG (same fields) and regenerated the app.
Again, the new table was not created in the database.

I thus was able to recreate the problem.

Olaf

Re: 5.91: new table is being created

Posted: 2020-11-06 18:25
by pfrumkin
For another data point, try a different table name?

My best guess is that AG still sees some existing table (even though it's removed from the db, is it really?).

~Paul

Re: 5.91: new table is being created

Posted: 2020-11-07 06:17
by onoehring
Hi,

I created it by hand (in MySQL), recreated some fields in AG and now it seems to work after generating the application.
Still - it seems very strange.

Olaf