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

Drop-Database isn't showing the name and server #18304

Closed
bricelam opened this issue Oct 9, 2019 · 2 comments · Fixed by #18369
Closed

Drop-Database isn't showing the name and server #18304

bricelam opened this issue Oct 9, 2019 · 2 comments · Fixed by #18369
Assignees
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Milestone

Comments

@bricelam
Copy link
Contributor

bricelam commented Oct 9, 2019

PM> Drop-Database
Confirm
Are you sure you want to perform this action?
Performing the operation "Drop-Database" on target "database '' on server ''".

image

@ajcvickers ajcvickers added this to the 3.1.0 milestone Oct 10, 2019
@bricelam
Copy link
Contributor Author

bricelam commented Oct 10, 2019

Ah, this was regressed by the Get-DbContext changes. Drop-Database relied on getting the information for the only DbContext when one wasn't specified.

@bricelam
Copy link
Contributor Author

(We changed it to return a list of all the DbContext classes when none was specified)

@bricelam bricelam added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Oct 14, 2019
@ajcvickers ajcvickers modified the milestones: 3.1.0, 3.1.0-preview2 Oct 24, 2019
@ajcvickers ajcvickers modified the milestones: 3.1.0-preview2, 3.1.0 Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants