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.

Ruby on Rails: How can I revert a migration with rake db:migrate?

After installing devise MODEL User i got this. class DeviseCreateUsers < ActiveRecord::Migration def self.up create_table(:users) do |…

ruby-on-rails ruby-on-rails-3.1 migration rake database-migration
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. Why I'm getting this error and what's the solution for it?

Previously I was using jQuery 1.7.1 in my code. I was getting the above error. Then I used the jQuery 1.11.1 straight …

jquery migration deprecated preventdefault
Convert SQLITE SQL dump file to POSTGRESQL

I've been doing development using SQLITE database with production in POSTGRESQL. I just updated my local database with a huge …

database sqlite postgresql migration
Running one specific Laravel migration (single file)

I don't want to run All Outstanding Migrations on laravel 4. I have 5 migrations. Now I just want to run one …

migration laravel laravel-4
Rails migration: t.references with alternative name?

So I have a create_table like this for Courses at a School: create_table :courses do |t| t.string :…

ruby-on-rails associations migration
Rake just one migration

I'm trying to run just one migration out of a whole bunch in my rails app. How can I do …

ruby-on-rails database migration rake
Backwards migration with Django South

Ok, so this seems like a really silly thing to ask, and I'm sure I'm missing something somewhere. How do …

django migration django-south
How do I split the output from mysqldump into smaller files?

I need to move entire tables from one MySQL database to another. I don't have full access to the second …

mysql migration
How to reset migrations in Django 1.7

(I know there is a title the same as this, but the question is different). I have managed to get …

django migration django-south django-migrations
Rails migration for has_and_belongs_to_many join table

How do I do a script/generate migration to create a join table for a has_and_belongs_to_many …

ruby-on-rails migration code-generation has-and-belongs-to-many