Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 9113

For questions about migration of data from one source to another (e.g. a database migration from MySQL to SQL Server), or the migration of code from one language (version) to another, e.g. from Java 7 to Java 8 or from Java to Python.

3 votes
Accepted

A bug was found in my code. Should I migrate the application as planned, or focus on patchin...

I assume when you fix the bug first, you will also release a new version of the application before the migration is completed (otherwise the whole question would be pointless). … Based on this assumption, ask yourself: What is the nature of the bug, and what will it mean to your users when you leave it in the application for the time of migration? …
Doc Brown's user avatar
  • 214k
2 votes
Accepted

sql migration - decoupling deployment from execution

The SP may also remove itself once it was executed successfully, to leave the DB in a state as if the data migration was done by an ordinary SQL script. …
Doc Brown's user avatar
  • 214k
1 vote

Migration pattern for logic too complex to cover it with SQL

, there is MigrationBuilder.Sql as the tool for handling any kind of complex migration. … For such cases, this Stackoverflow Q&A demonstrates how to get direct access to the database context during a migration, which is all one needs to implement arbitrary C# code which runs as part of migration
Doc Brown's user avatar
  • 214k
4 votes

Moving code to production without breaking existing functionality?

The only way to reduce the risk of breaking things in production is to test new releases before deployment. Fullstop. And if your budget for testers is small, try to create as many automatic tests as …
Doc Brown's user avatar
  • 214k
2 votes
Accepted

Is it considered as best practice to use migration scripts for one-off large data manipulati...

On Stackoverflow, you can find examples like this one showing how this can be done in Laravel directly inside the up method of a migration. …
Doc Brown's user avatar
  • 214k
4 votes
Accepted

Gap between Code base and Production application

So it seems you are planning to rewrite the original application step-by-step and replace it with a new application. Depending on the application logic, a "step-by-step" approach maybe possible or not …
Doc Brown's user avatar
  • 214k
8 votes
Accepted

Developer productivity Cobol versus C#

don't think it is possible to measure that beforehand, because it depends on too many factors like size of the system, qualification of your programmers, the existing "ecosystem" of your software, the migration … Hell, it may be true that future changes will be more expensive after the migration, it really depends. …
Doc Brown's user avatar
  • 214k
9 votes
Accepted

We are moving an Access based corporate front-end into a Web-based App

We want to move to a web-based app so we can eliminate the dependency on our physical location for hiring new sales force members. If that is the main motivation behind your project, please cons …
Doc Brown's user avatar
  • 214k
2 votes
Accepted

Recurring database migration

So as long as you implement the migration in a repeatable, idempotent manner, that should be not much of a problem. … What I cannot tell you is if fiddling around with the time stamps of your migration table will be a problem - for this one needs to know the gory details of your framework. …
Doc Brown's user avatar
  • 214k
3 votes
Accepted

How to improve version control on database structure when migrations take long?

You wrote Soon we find that some old project takes long time in running the migration file But why do you have to run the migrations more than once? …
Doc Brown's user avatar
  • 214k
2 votes
Accepted

Should I merge database migrations together before release?

This is ok as long as you are 100% sure the merged migrations will never hit a database which is in an intermediate state (so, for example, the Surname column is there, though it should not). This d …
Doc Brown's user avatar
  • 214k
9 votes

Rebuilding a legacy application : What about the data model?

Think big, start small. The most effective way I know for tackling the described situation is the following approach: Scetch your "vision" of the full data model, but do not implement it with all the …
Doc Brown's user avatar
  • 214k
2 votes
Accepted

Decoupling modules of a monolith

This is a little bit hard to answer without knowing more about your CMS, but when I got this right, a `pageNode" should be able to store a list of foreign key references to all kind of "referenced thi …
Doc Brown's user avatar
  • 214k
1 vote

Referencing Database Primary Keys from Codebase

Hardcoded IDs refering to some special records in your database can only work in a reliable way if the creation of those records (including their IDs) is hardcoded in a comparable fashion, ideally wit …
Doc Brown's user avatar
  • 214k
3 votes

For Evolutionary Database Tools like Flyway or LiquidBase, it is better to integrate the too...

Even an operation like "split a column into two" with some data migration is possible here, as long as the original column is not deleted right now. If this step fails, roll back the DB. …
Doc Brown's user avatar
  • 214k