How do you force OA to update the DB in a custom module?
I have a thunder generated custom module in which I need to add a couple more columns to the DB.
So I created them in the model, added them to the fluent mapping (HasProperty)...but no amount of uninstall\install seems to get these columns added to the DB?
Steve
...man even an uninstall and reinstall isn't even adding the table to the db
Hi Steve,
After the module has been initially created and installed and you change something like the type for example, you need to perform the following in order to make it refresh and change mappings etc:Developing a Custom module using an OpenAccess data provider.
I hope this helps.
Regards,
Atanas Valchev
Telerik
What? Ewww...
This can't be how you guys do it internally if you need to change a schema...is it?
Hi,
The upgrade is done by checking the assembly version and the schema version in the database. When the assembly has a higher version the upgrade will trigger.
Regards,
Atanas Valchev
Telerik