versionpress / versionpress

Git-based version control for WordPress. Whoa!
https://versionpress.com/
2.6k stars 239 forks source link

Support "ALTER TABLE" #1151

Open unclhos opened 8 years ago

unclhos commented 8 years ago

Some plugins alter the existing tables to add new information. These new columns are saved into the ini files already it seems. But the table schema is not updated in the .schema files. Could this be support and have the "apply-changes" command verify the table schema and update if needed so push/pulls will not error out with "to many fields" type of error.

borekb commented 7 years ago

This would be quite tricky to support, IMO. What do you think @JanVoracek?

JanVoracek commented 7 years ago

Yes, this will be quite difficult. Tracking is easy but undo / rollback / merge operations will need to handle a lot of "weird" situations.