Questions tagged [migrate]

Migration is the process of moving data from container to another. This includes migration to and from physical containers (e.g. hard disks) and migration to and from logical containers.

Migration is the process of moving data from container to another. This includes migration to and from physical containers (e.g. hard disks) and migration to and from logical containers.

Migration often involves some form of reorganization of the data.

Physical migration includes (but is not limited to):

  • moving data from an old hard disk to a newer one
  • moving data from one server to another

Logical migration includes (but is not limited to):

  • migrating data from one database system to another (e.g. Oracle 10g to MySQL 5)
  • migrating existing web applications from one web server to another
  • migrating a cell phones contact list to another cell phone

In contrast to , the data held in the original system after the migration process has been successfully completed is not necessarily used any more.

1099 questions
28
votes
1 answer

Laravel migrate on production server

I'm using Laravel and as part of my deploy routine I have the command RUN php artisan migrate Since I'm in production, I get the error Application in production, Command Cancelled! The fix is easy: RUN php rankbot/artisan migrate --force but I…
Stefano Giacone
  • 2,016
  • 3
  • 27
  • 50
26
votes
2 answers

VS 2015 to 2017 migrate to package reference failed

I've inherited a VS-2015 C# application and would like to migrate it to VS 2017 or 2019. It has a packages.config file with 4 packages:
VBStarr
  • 586
  • 6
  • 17
25
votes
3 answers

Meteor how to perform database migrations?

How do you perform database migrations with Meteor? With Ruby on Rails there is ActiveRecord::Migration. Is there an equivalent mechanism in Meteor? For example, I make an app with some user data. I'm storing the data in Mongo using a JSON…
Josh Petitt
  • 9,371
  • 12
  • 56
  • 104
24
votes
1 answer

Error: SQL71564 When migrating to Azure

I'm trying to do my first migration to Azure and I'm getting the following error: One or more unsupported elements were found in the schema used as part of a data package. Error SQL71564: Error validating element [develop]: The element…
DaveEP
  • 1,426
  • 4
  • 13
  • 27
22
votes
3 answers

Can't migrate database after scaffold. Section 2.2 Ruby on Rails Tutorial Michael Hartl

I'm working through the Hartl ruby on rails tutorial (section 2.2), and I'm having trouble migrating the database. Everything seemed to be working, and then I ran rails generate scaffold User name:string email:string Afterwards I tried to run…
Hopscott
  • 251
  • 2
  • 6
22
votes
2 answers

Not retrieving schema list from source when migrating from MSSQL to MySQL using Workbench

I'm trying to migrate my database which is in MS SQL Server to MySQL, I'm using Workbench to do so. I get connection to both databases but get the following warning: Retrieve schema list from source. And this is the message log: Starting... Connect…
Pablo Santamaria
  • 727
  • 1
  • 8
  • 20
20
votes
5 answers

Run only the next migration file

Is it possible to run only the next migration file with the sequelize-cli? I have been looking through the docs and help-section of the cli, and it does not appear to be such a feature. For instance, I have the following when running the sequelize…
Automatico
  • 12,420
  • 9
  • 82
  • 110
20
votes
5 answers

Web project requires missing web component ASP.NET Web pages with Razor syntax 3.0.0.0

I Migrate my project to mvc 5.0 and razor engin 3 with Microsoft Instruction But when open my solution Get this: The Web project 'ProjectName' requires missing web components to run with Visual Studio. Would you like to download and install them…
Mohammadreza
  • 3,139
  • 8
  • 35
  • 56
19
votes
11 answers

General error: 1824 Failed to open the referenced table

I am trying to set foreign key of my 'books' table with 'categories' table using php artisan migrate, but I got the following error: Illuminate\Database\QueryException SQLSTATE[HY000]: General error: 1824 Failed to open the referenced table…
Veasna WT
  • 317
  • 1
  • 3
  • 7
16
votes
3 answers

from django.db import models, migrations ImportError: cannot import name migrations

So I've started to experience some issues with south on my Django web server. Migrate command is failing with this output everytime: from django.db import models, migrations ImportError: cannot import name migrations (Above this the error…
Pablo
  • 163
  • 1
  • 1
  • 4
15
votes
3 answers

Rails: How to add add_index to existing table

I already migrated a table called units with several columns. I was wondering how to migrate in a stand alone 'add_index' to this table using the cmd. Is this code correct: class AddIndexToUnits < ActiveRecord::Migration def self.up add_index…
yoshyosh
  • 13,956
  • 14
  • 38
  • 46
14
votes
7 answers

How do I preserve installed applications when migrating Ubuntu to another platform?

I'm looking at maybe moving from an older AMD64 to a new Intel dual-core which is 32 bit. Installation isn't a problem but can I transfer all the installed apps? I haven't been able to find anything so far on Google except where the migration is to…
michaeljoseph
  • 7,023
  • 5
  • 26
  • 27
13
votes
1 answer

iOS5 convert project to ARC fails due to "Error in format of file" How to fix?

I got a project with 49 source files that I'm trying to convert to ARC using edit>refactor>convert to arc. I click "pre-check", there are no errors, and the target compiles. Xcode goes through "generating preview", compiles all 49 source files, then…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
13
votes
3 answers

Migrating Subversion Repositories across servers

We're in the process of moving servers and one of the last items is moving over the svn repositories. There are about 10 gigs of various svn repositories. They were created using this command: svnadmin create --fs-type fsfs Server A(original) has…
Totomobile
  • 663
  • 2
  • 8
  • 19
13
votes
10 answers

Laravel: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

after installing a new laravel app 5.7 and trying to migrate I get this error: Illuminate\Database\QueryException : SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQL: select * from…
medo ampir
  • 1,850
  • 7
  • 33
  • 57
1
2
3
73 74