How can we help you today? How can we help you today?
AlexYates
After running git clean, did your issues persist? (I'm assuming so). At this point I think I'm out of suggestions. I suspect it's one for Redgate tech support. Good luck! / comments
After running git clean, did your issues persist? (I'm assuming so).At this point I think I'm out of suggestions. I suspect it's one for Redgate tech support. Good luck!
0 votes
So the entire DB is showing as a change... What sort of change? New objects? Modified objects? Deleted objects? I'm assuming you were expecting them to be in sync? / comments
So the entire DB is showing as a change... What sort of change? New objects? Modified objects? Deleted objects?I'm assuming you were expecting them to be in sync?
0 votes
Have you tried deleting the local repo and pulling down a fresh clone? (Obviously commit and push or otherwise save any local updates/commits before deleting the local repo to avoid losing work.) / comments
Have you tried deleting the local repo and pulling down a fresh clone?(Obviously commit and push or otherwise save any local updates/commits before deleting the local repo to avoid losing work.)
0 votes
Do you by any chance have any of the files open/selected/locked in any other programs? (E.g. file explorer/text editor). Do you have full access to the filesystem where your git repo is located? / comments
Do you by any chance have any of the files open/selected/locked in any other programs? (E.g. file explorer/text editor).Do you have full access to the filesystem where your git repo is located?
0 votes
How about this? Master = Production. Dev work is done on feature branches on development databases. (Ideally separate databases per feature/developer. Have you looked at SQL Provision?) On demand, plus on a periodic basis (e.g. at the weekend/at end of sprint) the following is automated: From your post above: 1) restore latest prod on the dev server as <DB>_FROM_PROD_<yyyMMdd_hhmmss> 2) rename the dev <DB> to <DB>_OLD 3) rename the <DB>_FROM_PROD_<yyyMMdd_hhmmss> db as <DB> My additions: 4) <DB> is compared with master in source control, any updates are automatically committed as "DRIFT CORRECTION". This should get all 3rd party and other updates on prod into master. When this occurs you may want to trigger some sort of notification to your team so they can review the updates. 5) master is automatically merged with all branches. If this merges nicely, wonderful, your development changes do not conflict with production drift. If this causes a merge conflict/build error, your developers need to review the problem before they can push to production. To release code to production: 1) Automatic check that production and master are in sync. If not, abort with a drift warning. Resolve drift by updating master and try again. 2) Master is merged into feature branch to ensure there are no merge conflicts. 3) Any automated tests are run to verify the merged code. (If you don't have tests, write some.) 4) Feature branch is merged into master. 5) Master is deployed to production. 6) Master is merged into any other feature branches. / comments
How about this?Master = Production.Dev work is done on feature branches on development databases. (Ideally separate databases per feature/developer. Have you looked at SQL Provision?)On demand, plu...
0 votes