Page 1 of 1

re-create tables

Posted: 2013-12-11 10:35
by magicalmutation
Is it possible for a re-create the tables function so that when you add or change the structure it will auto re-create the database.

Its a pain in the bum having to delete the config file each time, partly because its a bugger sometimes having got do this but mostly because I am lazy 8-)

Re: re-create tables

Posted: 2014-01-02 19:12
by a.gneady
the generated application should automatically (and silently) create a table if it doesn't exist. If it does exist, however, you can recreate specific fields (rather than the entire table -- which could cause data loss) by selecting a field in AppGini, then opening the Tables menu > Fields > Recreate this field. You should then generate your application before closing AppGini, overwriting older files.

Re: re-create tables

Posted: 2018-11-03 12:17
by urichard
Hi A Gneady

I have a similar Question, i want to generate my application after i have already desined all the tables and fields and have a trigger in the application that whenever a new client subscribes or registers with my application that there should maybe be some code in hooks i gues to auto create a additional new database table with fields for this new client so i.o.w each client to have their own database table?

PS sorry for posting here i do not know how to post a new thread?

Please help
Regards
Richard

Re: re-create tables

Posted: 2018-12-05 13:24
by a.gneady