Top "Migration" questions

An action of moving between major versions of any framework, product or language, or, just as commonly, alteration to the data schema of an application.

Laravel migrations change default value of column

I have a table with a default value already assigned. For an example we can look at the following: Schema::…

php laravel migration laravel-artisan
Decimal to Double conversion in Swift 3

I'm migrating a project from Swift 2.2 to Swift 3, and I'm trying to get rid of old Cocoa data types when …

ios swift migration type-conversion swift3
Mechanisms for tracking DB schema changes

What are the best methods for tracking and/or automating DB schema changes? Our team uses Subversion for version control …

php mysql database svn migration
Is there a migration tool from CVS to Git?

I intend to switch over from CVS to Git. In the case of SVN, there seems to be cvs2svn. …

git version-control migration cvs
Loading initial data with Django 1.7 and data migrations

I recently switched from Django 1.6 to 1.7, and I began using migrations (I never used South). Before 1.7, I used to load …

python json django migration data-migration
Ruby on Rails: adding columns to existing database

I'm getting an error: SQLite3::SQLException: no such column: ideas.list_id: SELECT "ideas".* FROM "ideas" WHERE "ideas"."list_id" = 2 …

ruby-on-rails ruby ruby-on-rails-3 migration rails-migrations
Directory lookup for the file failed with the operating system error 3 (The system cannot find the path specified.)

I am trying to re-create a database (MyDB) from one SQL server (Source) to another one (Target). Source is located …

sql sql-server database migration osql
TSQL: UPDATE with INSERT INTO SELECT FROM

so I have an old database that I'm migrating to a new one. The new one has a slightly different …

c# sql tsql migration bulkinsert
What's the best way to migrate a Django DB from SQLite to MySQL?

I need to migrate my db from sqlite to mysql, and the various tools/scripts out there are too many …

mysql database django sqlite migration
How to insert initial data using sequelize migrations/seeds?

I'm trying to create my initial migration to populate the test database but I can't get it working. This is …

node.js express migration sequelize.js