Top "Database-migration" questions

database-migration is the process of transferring data between storage types, formats, or computer systems.

Room database migration if only new table is added

Let't assume, I have a simple Room database: @Database(entities = {User.class}, version = 1) abstract class AppDatabase extends RoomDatabase { public abstract …

java android database-migration android-room
Map existing Database table for Laravel

I am looking for a way to map existing tables in a project with the Eloquent ORM and use them …

database laravel migration database-migration database-management
EF Migrations for Database-first approach?

We're using Database first approach with EntityFramework. We've several customers, and when we deploy new product version, we're now applying …

c# entity-framework database-migration
Changing column in Laravel migration causes exception: Changing columns for table requires Doctrine DBAL

I'm trying to change the max length of one of my columns in table reserves in one migration. The code …

laravel laravel-5.2 database-migration
Connecting to MongoDB database on mLab fails authentication

I have a Parse app, and I'm trying to migrate my app's database to a MongoDB instance on mLab. I …

mongodb heroku parse-platform database-migration mlab
Error while upgrading Mongodb from 3.2 to 3.6

I needed to upgrade mongodb from 3.2 to 3.6 in my environment. For the process i first migrated from 3.2 to 3.4 as recommended. …

mongodb database-migration data-migration
Flyway and liquibase together?

I've looked at both Liquibase and Flyway individually and on an individual comparison alone, Liquibase seems like the better tool …

compare database-migration liquibase flyway
How to use Flyway configuration to handle multiple databases

we have a java application configured with maven that uses multiple databases. It is one app - many schemas. I've …

java database maven database-migration flyway
How do I add a check constraint in a Rails migration?

I need to add a new integer column to an existing table in my Rails app. The column can only …

mysql ruby-on-rails ruby database-migration
How to add a new column with Yii 2 migrations on a specific position in a table?

Let's say I have this table structure: +----+------------+-----------+---------+------+---------+---------+---------------------+---------------------+ | id | first_name | last_…

php mysql yii2 database-migration