Top "Database-migration" questions

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

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
How to change schema of all tables, views and stored procedures in MSSQL

Recently we were having issues on our database server and after long efforts it was decided to change the database …

sql sql-server-2008 database-schema database-migration kentico
Make column not nullable in a Laravel migration

I'm writing a migration to make certain columns in a table nullable right now. For the down function, I of …

php sql database-migration laravel
Laravel make model with migration

I'm creating a model on the Laravel 5 with this command: php artisan make:model Settings As it shows on the …

laravel laravel-5 database-migration
django.db.migrations.exceptions.InconsistentMigrationHistory

When I run python manage.py migrate on my Django project, I get the following error: Traceback (most recent call …

python django django-models django-rest-framework database-migration
Sequelize.js: how to use migrations and sync

I'm close to having my project ready to launch. I have big plans for after launch and the database structure …

database node.js database-migration sequelize.js
Laravel's Artisan says nothing to migrate

I installed migrations with php artisan migrate:install then created a migration with the php artisan migrate:make create_teams_…

php laravel database-migration
No connection string named 'MyApplicationEntities' could be found in the application config file

I just install EF 4.3 and trying to upgrade my project with migration. however I am getting issues with trying to …

connection-string database-migration entity-framework-4.3
Add sql table column before or after specific other column - by migrations in Laravel 4.1

Table 'users': |id|name|address|post_code|deleted_at|created_at| and I want add column 'phone_nr' somewhere between …

laravel laravel-4 database-migration
PDOException (1044) SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'forge'

I am using Laravel 5 and getting the following exception: PDOException (1044) SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database …

laravel laravel-5 database-migration laravel-migrations