Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DisableCreateTable for MigrationSet instances.
Previously the DisableCreateTable setting was always being read from the global `migSet` instance. This meant that setting `ms.DisableCreateTable` on a given `var ms MigrationSet` instance had no effect. This commit fixes that bug, and adds a test to confirm the fix. Regardless of the global `migSet.DisableCreateTable` value, `ms.getMigrationDbMap()` will always read from `ms.DisableCreateTable`.
- Loading branch information