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.

Assigning default value while creating migration file

rails generate migration AddRetweetsCountToTweet retweets_count:integer Ok I use above line to create migration file that automatically generates code …

ruby-on-rails migration
Version of SQLite used in Android?

What is the version of SQLite used in Android? Reason: I'm wondering how to handle schema migrations. The newer SQLite …

database android sqlite schema migration
How can I rename column in laravel using migration?

I have columns as mentioned bellow: public function up() { Schema::create('stnk', function(Blueprint $table) { $table->increments('id'); $table-&…

php mysql database laravel migration
How do I handle too long index names in a Ruby on Rails ActiveRecord migration?

I am trying to add an unique index that gets created from the foreign keys of four associated tables: add_…

ruby-on-rails migration
Migrating from JSF 1.2 to JSF 2.0

I am working with a rather large app written in JSF 1.2. JSF 1.2 is around 6 years old now. I need to …

java jsf migration jsf-2
How can I disable code first migrations

I have a code-first entity model in EF5. But I want to manage the database changes manually -- I do …

entity-framework migration code-first
rake db:schema:load vs. migrations

Very simple question here - if migrations can get slow and cumbersome as an app gets more complex and if …

ruby-on-rails ruby-on-rails-3 migration
Dependency graph of Visual Studio projects

I'm currently migrating a big solution (~70 projects) from VS 2005 + .NET 2.0 to VS 2008 + .NET 3.5. Currently I have VS 2008 + .NET 2.0. The problem …

.net visual-studio migration graph dependencies
Error: Schema validation failed with the following errors: Data path "" should NOT have additional properties(project)

After migrating application from angular 5 to 6, on running ng serve the following errors pop up. Schema validation failed with the …

angular typescript migration angular5 angular6
Using Rails, how can I set my primary key to not be an integer-typed column?

I'm using Rails migrations to manage a database schema, and I'm creating a simple table where I'd like to use …

ruby-on-rails database migration primary-key