automatically track table changes for copy_from in batch operations

Declined
#41 · Created  · Last updated

Declined pull request

PR is out of date

Closed by: ·2016-03-16

Description

With this PR copy_from is automatically set in offline batch migrations by tracking table changes from base. copy_from may be explicitly overwritten by the migration script.

This is work in-progress.

Problems:

  • does not work when start_rev > base. It would require tracking table changes from base to start_rev without applying backend changes

  • constraints do not seem to tracked properly (example: add Boolean column, drop it, add Boolean again creates two constraints). is this an unrelated bug?

0 attachments

0 comments

Loading commits...