Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.4] Now sets the connection property of the Migration object #17549

Closed
wants to merge 1 commit into from
Closed

[5.4] Now sets the connection property of the Migration object #17549

wants to merge 1 commit into from

Conversation

landsem
Copy link

@landsem landsem commented Jan 25, 2017

The migration object did not have a setter for the connection property, and the property
was not being set by the MigrateCommand.

@landsem landsem changed the title Now sets the connection property of the Migration object [5.4] Now sets the connection property of the Migration object Jan 25, 2017
@landsem
Copy link
Author

landsem commented Jan 25, 2017

Fixes issue #17546 if the migration is written to use the connection that is in the connection property of the Migrate object

@taylorotwell
Copy link
Member

Is this fixed by #17574?

@landsem
Copy link
Author

landsem commented Jan 26, 2017

Yes, #17574 fixed it.

@landsem landsem closed this Jan 26, 2017
@landsem
Copy link
Author

landsem commented Jan 26, 2017

Well, partially. The Migration is now run on the database specified in the --database parameter, but the connection property of the object is still NULL. Is it supposed to be like this?

@casperwilkes
Copy link

Did this ever get merged into 5.4? I see the pull request, but when I look at the master branch, I don't see where it's been merged. I installed a fresh copy of 5.4, and these changes aren't in there either. I'm also running into issues where I can't set the --database when running migrations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants