New fields to an existing project?

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
Nicolas
Veteran Member
Posts: 44
Joined: 2015-12-08 08:08
Location: Barcelona
Contact:

New fields to an existing project?

Post by Nicolas » 2015-12-08 10:59

Dear all

I am new (2 days) and I am playing with one of the existing examples (invoicing) to create a web based app for my company and I've been able to publish it as it was in first instance on the server and works fine (another comment with linked data ... but let's leave this for future or check on the forum)

Now, I have added some new fields to the tables and when I upload to the server..... how are generated the new fields on mysql tables???? I get error messages when it tries to show the fields
Error
Unknown column 'table.newfield' in field list

How does appgini re-generate tables or add new fields.... without having to add them manually on mysql area???

Thank you

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: New fields to an existing project?

Post by a.gneady » 2015-12-08 19:42

Try this: go to the admin area > open the Utilities menu > Rebuild fields. This would show you any missing fields and provide a button to fix them.
:idea: AppGini plugins to add more power to your apps:

Nicolas
Veteran Member
Posts: 44
Joined: 2015-12-08 08:08
Location: Barcelona
Contact:

Re: New fields to an existing project?

Post by Nicolas » 2015-12-10 18:53

Thank you.... I did not say¡w any button to fix them.... but I went through the mysql server side and added new fields on the tables and it worked out....
(I keep on learning )
Thanks and I keep on going

Post Reply