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.

0
votes
0answers
16 views

How to migrate EF 4 to EF 6

I have a project which currently uses EF 4.0 I want to migrate this project from EF4 to EF6. What is the best and the easiest way to do so? All the answers that I have come through right now seem a ...
0
votes
1answer
29 views

makemigrations doesn't add any column, except id column

After creating app1 and adding it in INSTALLED_APPS, I wrote my model in models.py including a table with two columns, cod & name, then typed in Terminal: python manage.py makemigrations app1 ...
0
votes
2answers
44 views

Proper steps to migrate PHP 5.6 code into PHP 7.3

we have developed previously in house system based on PHP 5.6 now we want to upgrade same code into PHP 7.3, we have not used any PHP framework we are using core way to write code means we are not ...
0
votes
0answers
21 views

How to migrate models in Django based on PGsql

I'm following all of the tutorials and references I can reach. However, none of them works. The only thing I want to do is super simple. I just want to add one column to my built model. In this ...
0
votes
2answers
95 views

In Facade.php line 237: Call to undefined method Illuminate\Database\Schema\MySqlBuilder::defaultStringLenght()

I am trying migrate a MySQL table in Laravel5.8 thru command $ php artisan migrate I am getting this error In Facade.php line 237: Call to undefined method Illuminate\Database\Schema\...
1
vote
1answer
16 views

node.js sequelize no primary keys when migrating

This is my create_user_table migration in my node.js project. 'use strict'; module.exports = { up: (queryInterface, Sequelize) => { return queryInterface.createTable("comments", { ...
1
vote
0answers
40 views

Drupal 7 upgrade to Drupal 8 upgrade UI fails to connect to localhost database while using docker for windows

I have Docker on Win 10 pro integrated with linux subsystem for windows (using Debian) - Docker is configured to Expose daemon on tcp://localhost:2375 without TLS so everything plays nice locally... ...
0
votes
0answers
32 views

Unable to migrate models from django to sql server

I'm trying to learn django and have to use sql server as a data base and unable to migrate models using manage.py migrate I'm using django 2.1.8 Pyodbc python 3.7.3 I've tried to reinstall django, ...
1
vote
1answer
15 views

Django on Heroku - add new models to postgreSQL database

I have an Django 2.1 / Python 3.6 application running on Heroku's hobby account. The first version of this deployment went smoothly. Now I needed to add more fields to existing models and also add ...
0
votes
1answer
34 views

Heroku database missing field from Django Models

Running a Django app on Heroku. Locally, I'm using the db.sqlite3 db, while on Heroku, it's the PostgreSQL. I have one migration, reflecting locally, but not in Heroku, where it keeps giving me an ...
1
vote
0answers
313 views

FileNotFoundException after migrate project to AndroidX [duplicate]

I have got a problem. I migrated my project to AndroidX using Android Studio ( Refractor --> Migrate to AndroidX ) The project migrated successfully, but when I am trying run app on my device, on ...
1
vote
1answer
47 views

Creating a new SQL Server table from an existing table

I have the job of updating a database table by removing the month column and recreating that table grouping on column fields and summing the hours column. Here are my instructions: "Create a new ...
0
votes
0answers
134 views

Why I getting error “bash: manage.py: command not found”?

I'm trying to deploy Django project on Heroku. The Postgres db was created by default. And by the instructions, I should make migrate: heroku run python manage.py migrate And I so like Heroku ...
0
votes
1answer
45 views

Run migrations when deploying golang application to Heroku

I've been trying to set up migrations for a golang application on Heroku. I'm using native Go modules (vgo) and the official Heroku build pack. For migrations I'm using the migrate package. The thing ...
1
vote
0answers
51 views

How do I solve General error: 1005 Can't create table?

I want to migrate my migration that have foreign key in users table referenced on roles table but I always get "SQLSTATE[HY000]: General error: 1005 Can't create table db_pkl_smk.#sql-435c_67 (...
0
votes
1answer
61 views

Opencl - single queue with 2 devices

Im trying to port CUDA a test to Opencl. It requires a copy of a buffer from PCIe device-1 onto device-2 of the same type (same brand, same driver etc) In CUDA it is quite simple: Allocate memory on ...
-1
votes
2answers
137 views

How to cotinuosly append data from DB2 server to sqlite using preferably django and if nothing else then python alone code

I am writing a django website that has some reports that pulls data based on DB2 database. Since I have only read only access to that database, I want the data from DB2 to be continuosly appended (or ...
-3
votes
1answer
36 views

How to migrate to swift 4 if i can't compile because of cryptoswift?

I need to compile my code but xcode can't migrate to swift 4 because it can't compile in swift 3 but Cryptoswift framework don't want to compile because it need to be in swift 4. I can compile on ...
0
votes
0answers
10 views

Keep already issued ExternalBearer tokens valid when migrating backend to another server

I have an API server in AspNet 4 that uses DefaultAuthenticationTypes.ExternalBearer for user authorization witch are valid for 1 year. app.UseExternalSignInCookie(DefaultAuthenticationTypes....
1
vote
0answers
53 views

Glide v3 to V4: toBytes() and transcode

How can I convert this to Glide v4. Much of our previous code depends on this bytes, so we need to keep it backward compatible. artRequestBuilder = Glide.with(context) .load(url)...
0
votes
0answers
12 views

Migrate a domain with its users and their stuff from one G Suite account to another

So, my company is splitting and now we want two different G Suite accounts. Let's say the company has domains exampleA.com (primary) and exampleB.com We want exampleB.com to be moved to a different ...
-2
votes
1answer
41 views

SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it must be defined as a key" [duplicate]

Ive got the error: SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it must be defined as a key") when i try to migrate my ...
-3
votes
1answer
26 views

Laravel 4.0 to 5.7 migration

I have a Laravel 4.0 application. Is it possible to migrate this instance to Laravel 5.7? What are the impacts of this on the system and how can I do it? É possível migrar o Laravel 4.0 para 0 5.6 e ...
0
votes
1answer
43 views

Access to database tables location created with migrate in Rails

I did a homework on Rails using RubyMine. I need to submit the homework with the database tables . But I can't access database tables file location, because I don't know under the which folder I ...
1
vote
1answer
42 views

Laravel:: php artisan migrate is not updating the changes

I want to update my database with one extra column that I forgot so I dropped my database and added that field in create method and also in fillable but whenever I am migrating it. it is taking only ...
0
votes
2answers
759 views

Laravel 5.7 migrate error : SQLSTATE[HY000] [2002] No such file or directory

I'm using homestead for laravel. I had installed 2 virtual web site. Two website DB is working good when I tried to migrate. But today I created new website and try to migrate I took error looks like ...
-1
votes
1answer
45 views

What should I do when migrate in django does not work?

I have a problem with creating models in Django. I want to create new model, so I write code: class Image(models.Model): title = models.CharField(max_length=100) image = models.ImageField() ...
0
votes
0answers
26 views

Should I migrate/duplicate blog posts?

This question is a little more theoretical I suppose rather than technical. I will try to be as clear as I can with my question. Scenario: Website1 has been active and running for quite some years ...
0
votes
2answers
194 views

python flask env variable import error app

I have one Dockercontainer with some functionality which worked fine. I duplicated it and made some changes and provide them both via docker-compose. It works fine but suddenly I startet one of the ...
1
vote
0answers
155 views

Error validating elements stops migration or bacpac backup

I am having a problem migrating a SQL 2017 database to Azure. I have used the 'Deploy Database to Microsoft Azure SQL Database' and 'Export Data-tier Application' wizards from the tasks menu in SSMS ...
0
votes
0answers
126 views

Request Matcher not resolved while migrating spring security from 3 to 4

I am migrating my spring security from 3.1.4 to 4.1.5. I am using RequestMatcher in my security config to filter out urls.I updated RequestMatcher to the correct package as suggested in Migration ...
0
votes
0answers
55 views

Django migrations not applying after moving from test PC to production server/DB

I am unable to run the inital migrations in my django project on my production server. I started working on my Django app on my computer with a sqlite db. I was able to run the initial migrations (...
0
votes
0answers
103 views

Drupal migrate taxonomy (entity_generate plugin) weird behavior

I wrote the Drupal 8 migrate yml configuration below to import and create a taxonomy vocabulary. This is a migrate dependency script for a custom entity. In my data set, Tags are not unique are they ...
0
votes
1answer
32 views

Moving Zen Cart Orders to Woocommerce

I have searched this site and the ZenCart site and have come up with nothing I can use. I want to move orders from Zen Cart to Woocommerce. I have exported everything from Zen and already moved it to ...
0
votes
1answer
39 views

Trait 'Illuminate\Notifications\HasDatabaseNotifications' not found

I deployed my Laravel site to cPanel shared hosting and migrated my DB to the hosting's DB. When I try to enter the site by login password, the error is: Symfony \ Component \ Debug \ Exception \ ...
1
vote
1answer
42 views

Migrating WSO2 Definitions to AWS API Gateway?

Disclaimer: I have almost 0-knowledge on API development. The objective is not to write API, but to port an existing definition. Our current API Setup is a WSO2 Cluster API Manager residing in 3 ...
1
vote
1answer
98 views

why do i get syntax error on manage.py makemigrations?

I'm making a test project with python and django (for learning purpose). At some point I have to make a django app called products, then in the models.py file in the "products" app directory I have ...
0
votes
0answers
10 views

How to Migrate SSMS Schema Version?

I am new to databases, I am trying to run this 3rd party proprietary software and it wants me to migrate the Schema Version from (2.4) to (4.3). The database is on the same computer as the software, ...
1
vote
2answers
78 views

Problem with ForeignKey. Django migrations

I have to define code.Spatial class like primary_key and codels.LScharacteristic codels.PlannedUsing like foreign key. I face this, when i tried migrate: ProgrammingError: ERROR: the id column ...
0
votes
1answer
268 views

Migrate Azure Devops organization to another enterprise

I created two organizations on Azure Devops using two differents enterprise emails. I would like to migrate one of the organization to the other enterprise. I need to migrate everything (users, codes, ...
0
votes
1answer
103 views

manage.py migrate cannot access remote MySQL database

I have a Django app on that connects to a remote MySQL database (both on AWS, just different servers). The connection works fine and the app properly interacts with the database (fetches from and adds ...
0
votes
1answer
29 views

Migration VSTS cloud to self-hosted TFS Server [closed]

I need to migrate our online VSTS to our own self-hosted TFS 2017 server. Is there a way to do it and preserve history?
2
votes
2answers
411 views

Migrate from TFS to AzureDevOps

We are planning migrating a big team project from TFS to Azure DevOps. TFS repository is classical TFVC and work item templates are customized CMMI templates. The requirement is to convert source code ...
2
votes
4answers
688 views

Laravel : Nothing to Migrate

so I have looked around and found several suggestions of how this can be fixed but I still can't get it to work. so I have created a file called social.php inside my migrations folder. and added ...
1
vote
1answer
44 views

Migration from Access to DynamoDB

I am trying to migrate 3,000,000 records from Microsoft Access to DynamoDB. I am trying to/ cannot find any information on how to most efficiently convert from a relational database to a NoSQL db. ...
0
votes
1answer
76 views

WordPress migration is redirecting me to do a new installation of WordPress site

I thought I followed the steps to migrate my WordPress site over to a new host correctly but when I navigate to the new site I am getting redirected to the WordPress installation page. Here was my ...
0
votes
1answer
445 views

Django How to Get rid of Migration Errors

I am using Django ; and when I change a model , getting an error everytime . I am changing only one field in model, and getting stupidly a lot of errors EVERYTIME. django.db.utils....
0
votes
1answer
38 views

Migrate SQL users table but keep their original id's

How to copy users table between wordpress databases but keep their original id from the origin table? when I export -> import users to a new table, the new id's are written incrementally instead of ...
0
votes
0answers
24 views

How to move Drupal 8 site from Acquia Dev Deskto to Docksal?

Not sure where to ask this question. Not seeing any Docksal forums. I've found some limitations with Acquia's Dev Desktop app, so I'm trying the local version of a Drupal 8 website to Docksal. I've ...
0
votes
1answer
20 views

Migrate attributes from a table to another table

I have two tables : TEST1 : attribut1, attribut2, attribut3 TEST2 : attribut4 attribut4 pattern is like "xxxxx yyyyy zzzzz" My question is, is it possible to put in TEST1 attribut1 all the "...