openvstorage/framework-extensions

_update_table for discrepancies between sql and dal

Closed this issue · 2 comments

problem:

As of now, there is no code provided to cope with changes made in the dal property constraints, and to reflect these changes in the underlying db

usecase:

I need to write migration code for dropping a mandatory constraint

proposal:

_update_table dal code that detects changes in existing tables and objects, fetches the difference between these two and respond accordingly

Fixed by:

#115

Package information:

openvstorage-extensions-0.4.0-dev.1524058425.19ad305

Released in https://github.com/openvstorage/framework-extensions/releases/tag/0.4.0
Packaged in openvstorage-extensions_0.4.0-1_amd64.deb