-
-
Notifications
You must be signed in to change notification settings - Fork 853
Rename-DbaDatabase, round #3 #2735
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
Rename-DbaDatabase, round #3 #2735
Conversation
functions/Rename-DbaDatabase.ps1
Outdated
|
|
||
| dbatools PowerShell module (https://dbatools.io, clemaire@gmail.com) | ||
| Copyright (C) 2016 Chrissy LeMaire | ||
| This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update this to current license statement
|
I'm up for merging it but will leave that to @potatoqualitee ... I mean we have to start somewhere and just wait for feedback to come in on it. |
|
yeah, apparently no better ideas came around during code review so we should hear from users pretty soon. The original requested feature-set is in. Lemme fix the license and try to figure out your issue, then I think it can be merged. |
|
I'd love to merge! Then we'll ask for some testers. @wsmelton - feel free to merge and ping me once you and niph are ready. then i'll add it to psd1 |
|
I would say we push this one out as a "beta" type thing, get folks using it in their test environments and then have them offer feedback/suggestions. Especially since we cannot test for every possible scenario of file configurations in a database. |
|
on the "leave the low hanging fruit" theme, unfortunately it's kinda chicken/egg problem: nothing can be moved until the db is put offline (files are locked if db is online), and there's no way to pre-check if a move can be done. Maybe it should try to rollback the changes, but it's not that simple. @wsmelton : the error shown seems to point out you can't |
|
Yesssss thanks @niphlod ! Adding this and alerting Rob Volk who originally requested it. |



Type of Change
Purpose
Reissue of #2442, which is a reissue of #2030 . Please merge ASAP, keeping tracks is starting to be extremely difficult.