hi, please take a look at these two images, my prinary key “id†is an auto increment integer and works fine on local host, but when uploading the application to server look what happens, somehow the ‘Not Assigned’ value is begin pushed through, that field should be ommited in that statement, any comments? thank you
https://i.imgur.com/GJuC9m6.jpg
https://i.imgur.com/TABlpzA.jpg
*rebuild pages doesnt show any rebuilds, same database, same application
auto increment getting string val?
- D Oliveira
- AppGini Super Hero
- Posts: 357
- Joined: 2018-03-04 09:30
- Location: David
Re: auto increment getting string val?
Hmm ... where does the 'Not assigned' string in the query come from? Is it specified as a default value for the field in AppGini? Please try going to the admin area > Utilities menu > Rebuild fields ... does the page report any issues in the database?

- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
- D Oliveira
- AppGini Super Hero
- Posts: 357
- Joined: 2018-03-04 09:30
- Location: David
Re: auto increment getting string val?
'not assigned' string comes from appgini standard procedure of inserting the record in the db, theres no custom code on my end, rebuild fields is clear all fields are ok, no console erros other than those images that I have shared, the `id` primary key field should be omitted in that statement, which file of appgini handles auto increment insert statements?
- D Oliveira
- AppGini Super Hero
- Posts: 357
- Joined: 2018-03-04 09:30
- Location: David
Re: auto increment getting string val?
UPDATE:
yes, 'Not Assigned' was a default value inside appgini application but i have never written that there, my application is in portuguese, maybe by clicking autoincrement in an appgini older version you had 'Not Assigned' to be set as default value, anyway.... removing that FIXED THE ISSUE! thank you
yes, 'Not Assigned' was a default value inside appgini application but i have never written that there, my application is in portuguese, maybe by clicking autoincrement in an appgini older version you had 'Not Assigned' to be set as default value, anyway.... removing that FIXED THE ISSUE! thank you