Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Schema Not Update
Iam using Liferay 7.4 . I add new field in service.xml . Then build service and deploy the service builder but table not update.
The New Field not cretaed . How to Solve this problem
Please read this:
https://liferay.dev/blogs/-/blogs/liferay-7-3-upgrade-processes
tl;dr: For development environments you can set
"upgrade.database.auto.run=true" in
portal-ext.properties, but for production environments you should
implement an upgrade step instead.
Hey antony, I faced the same issue and i solved this by
Deleting the existing custom table created in SQL, Deleting the entry created for your service.xml in release table and servicecomponent table in SQL.
Clean, re-build the service-builder and Deploy your service-builder.
Now, Your new fields will be created in custom table in SQL.