Top "Database-migration" questions

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

Migrate mongodb database from localhost to remote servers

I created a database on my local ubuntu machine. How can I transfer it to my remote server (ec2 Ubuntu)

mongodb database-migration nosql
Rails Migration: Remove constraint

I have a table in a Rails application which (in schema.rb) looks like: create_table "users", :force => true …

ruby-on-rails database-migration
Add "ON DELETE CASCADE" to existing column in Laravel

I have user_id fk column in my table $table->foreign('user_id')->references('id')->…

php laravel laravel-4 database-migration
GenerationType.AUTO vs GenerationType.IDENTITY in hibernate

Currently we are using mysql as a database and we use @Generated Value(strategy = GenerationType.IDENTITY) It's working perfectly at …

java hibernate spring-mvc jpa database-migration
MySQL columns with DEFAULT NULL - stylistic choice, or is it?

In many flavors of SQL, there are three ways you can implicitly set a column to NULL on every row …

mysql sql postgresql database-migration sql-scripts
EF migration shows empty Up() Down() methods

I have a local database that is currently in it's second version and should now go to it's third version. …

c# entity-framework database-migration
Postgres on Rails FATAL: database does not exist

I've reinstalled Postgres (9.2.4) and I'm having trouble getting it set back up with Rails 3.2.11. I did: brew install postgresql initdb /…

ruby-on-rails ruby-on-rails-3 postgresql activerecord database-migration
Use the ColumnAttribute or the HasKey method to specify an order for composite primary keys

I'm trying to use composite primary key on 2 objects with parent-child relationship. Whenever I try to create a new migration, …

c# entity-framework entity-framework-4 database-migration
django 1.7 migrations -- how do I clear all migrations and start over from scratch?

So I'm rapidly iterating on a django app at the moment and I'm constantly adjusting models.py. Over the course …

django database-migration django-south django-1.7 django-migrations
sqlalchemy : executing raw sql with parameter bindings

I'm trying to run this simple raw sql statement with parameters with SQLALchemy (within an alembic script) : from alembic import …

python sqlalchemy database-migration flask-sqlalchemy alembic