Questions tagged [migration]

An action of moving between major versions of any framework, product or language, or, just as commonly, alteration to the data schema of an application. This might involve modifying existing data to make it work with the new version.

An action of moving between major versions of any framework, product or language, or, just as commonly, alteration to the data schema of an application. This might involve modifying existing data to make it work with the new version.

9601 questions
3
votes
1 answer

Laravel , Creating Trigger through migration runs successfully, but couldn't find the trigger in mysql

I've created a trigger using migration in laravel and it migrated successfully, but i couldn't find the trigger in database, can someone please help. My Laravel Version is 5.5 I've added the whole migration file below . use…
3
votes
4 answers

General error: 1215 Cannot add foreign key constraint in laravel

Doing the migrations I got this error: SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL: alter table books add constraint books_writer_id_foreign foreign key (writer_id) references writers (id)) I've tried a lot of things…
m4rii0
  • 37
  • 1
  • 7
3
votes
2 answers

Variable variables in classes using PHP 7

Actually I'm migrating a bigger project from PHP 5.3.3 to PHP 7.1.13. In older versions of PHP it was possible to code following access to variable variables: class MyClass {}; $myVar = array("hello","world"); $myClass = new…
Marco
  • 2,409
  • 4
  • 16
  • 23
3
votes
1 answer

Laravel seed's with uuid

I have problem with my seeds. Here is my structure of my tables: 1.Complaints: Schema::create('complaints', function (Blueprint $table) { $table->uuid('id'); $table->unsignedInteger('origin_id'); …
wenus
  • 1,041
  • 6
  • 18
  • 32
3
votes
2 answers

SQLSTATE[42S01]: Base table or view already exists: 1050 Why I can not drop the table

In Connection.php line 664: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'credit_prop_fees' already exists (SQL: create table credit_prop_fees (id int unsigned not null auto_increment primary key, fee_id int not null, created_at…
David
  • 171
  • 2
  • 8
3
votes
2 answers

How to convert Gradle to maven in eclipse

I want to migrate from gradle to maven I tried and build successfully but I am facing issue while running my application I took this gradle project https://github.com/spring-projects/spring-security-kerberos from git, its working fine as gradle…
sunil
  • 41
  • 3
  • 11
3
votes
1 answer

Migration from ZF2 to ZF 3 without getServicelocator();

I am new at ZF3 and I need your help. In ZF3 there is no service Locator any more. So I created a Factory class to replace the service Locator in my code. Here is my code with service Locator in my AbstractController.php file: protected function…
gp_stack
  • 31
  • 3
3
votes
6 answers

What am I doing wrong in trying to deploy with the Force.com Migration Tool (ANT)

I'm currently trying to work my through a SalesForce.com tutorial on "Deploying with the Force.com Migration Tool (ANT)". I’m sure I’m missing something… possibly because my knowledge and experience with Ant has been very limited. I created a new…
Brian Kessler
  • 1,364
  • 4
  • 21
  • 38
3
votes
1 answer

SQL Server 2008 R2 to MongoDB - is it safe to migrate?

We are running a .Net 4.0 ASP.Net application with SQL Server 2008 R2. I often face database related issues and have to frequently look into possibilities of optimising my SQL code (procedures, triggers, jobs etc). I recently, came to know about…
saarthak
  • 41
  • 3
3
votes
3 answers

Difference between php 4 and php 5?

I'm in search of the web hosting space, and got to know the PHP version is 4.3 and MySQL Version 4.1 But i developed my application in MySQL version 5.x and PHP version 5.x Can anyone give me the differences in versions ? what all i cannot access…
Satish Ravipati
  • 1,379
  • 6
  • 24
  • 38
3
votes
2 answers

How can I add field using alter table on the migration laravel?

I use laravel 5.3 My migration like this :
Success Man
  • 5,513
  • 23
  • 109
  • 205
3
votes
1 answer

Fatal error: Call to a member function run() on null in {path to the test file}

I am using PHPUnit 5.7.23 and phinx 0.9.1, public function setUp(){ $this->phinx = new PhinxApplication; $this->phinx->setAutoExit(false); $this->phinx->run(new StringInput('migrate'), new NullOutput); …
3
votes
1 answer

Migrating SAP netweaver 7.0 project to 7.4

I'm migrating a SAP B2B Commerce project from version 7.0 to 7.4, with the previous version of java 1.4 to 1.7. Right now i have no java errors, but this error messages in the jsp file: //the import sap api couldn't not be resolved <%@ page…
J.A.enapsys
  • 53
  • 1
  • 6
3
votes
0 answers

Django migration between branches releases

We are to start branching our master code in the first stable version, and the company has to maintain 2 feature releases. To manage the migrations we use the django migration, but what we don't know is how to load with the hotfix scripts that we…
Alan Grosz
  • 940
  • 8
  • 13
3
votes
1 answer

Disable/Change Visual Studio Team Services automatic interpretation of hash-number commit messages

We are trying to migrate our code base to VSTS. Our developers have referenced work items (bugs) in their commit messages. VSTS is interpreting these numbers such as #3235 when processing the commit messages. For example when we push our code to…
scranley
  • 99
  • 3
  • 16
1 2 3
99
100