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.

SQLSTATE[HY000] [2002] Connection refused within Laravel homestead

Using Mac OS X and Homestead 2.2.1 with Laravel 5.2. In terminal (within homestead in my project folder) I can do php …

php laravel-5 migration homestead laravel-artisan
List all sequences in a Postgres db 8.1 with SQL

I'm converting a db from postgres to mysql. Since i cannot find a tool that does the trick itself, i'm …

sql database postgresql migration sequences
Maven is not working in Java 8 when Javadoc tags are incomplete

Since I use Maven I have been able to build and install in my local repository projects that have incomplete …

java maven migration java-8 javadoc
Add a default value to a column through a migration

How do I add a default value to a column that already exists through a migration? All the documentation I …

ruby-on-rails ruby migration
Change a column type from Date to DateTime during ROR migration

I need to change my column type from date to datetime for an app I am making. I don't care …

mysql ruby-on-rails ruby ruby-on-rails-3 migration
Run a single migration file

Is there an easy way to run a single migration? I don't want to migrate to a certain version I …

ruby-on-rails ruby migration
How do you write a migration to rename an ActiveRecord model and its table in Rails?

I'm terrible at naming and realize that there are a better set of names for my models in my Rails …

ruby-on-rails migration rails-activerecord
Java error: Comparison method violates its general contract

I saw many questions about this, and tried to solve the problem, but after one hour of googling and a …

java compare migration java-7 comparator
Package Manager Console Enable-Migrations CommandNotFoundException only in a specific VS project

I tried to run the command 'Enable-Migrations' in a new project and I got the message: PM> Enable-Migrations The …

entity-framework migration
Adding :default => true to boolean in existing Rails column

I've seen a few questions (namely this one) here on SO about adding a default boolean value to an existing …

ruby-on-rails-3 migration