forked from globalize/globalize
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
create_source_columns
option for migrations (globalize#715)
If you use `migrate_date` option on `_create_translation_table_` method, then on roll back, `_drop_translation_table_ `fails because it try to create new columns that exist yet. So I added create `create_source_columns` property (as reverse for `remove_source_columns`) to `_drop_translation_table_` method.
- Loading branch information
1 parent
0bfe947
commit 22c298d
Showing
3 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters