phinx Questions

2

Solved

I am working on migrations in Cakephp3, I want to rollback a specific migration, I know how to rollback a previous migration by using the follow way: bin/cake migrations rollback But I couldn't ...
Elevator asked 15/10, 2016 at 6:23

4

When I try create migration I get this exception, but I have not got curly braces in my migration path [Exception] You probably used curly braces to define the migration path in your Phinx configur...
Kiefer asked 23/7, 2017 at 7:6

1

I would like to synchronize the states of multiple databases. I would like to compare the tables in them, and create the missing tables and columns. There is a library for Php, which has a lot of ...
Malvina asked 23/9, 2019 at 14:15

2

Solved

I'm trying to create a migration in Phinx (actually a rollback) which will create a enum type field in a MySQL DB. Having read the docs I was under the impression that this should be pretty simple ...
Asleyaslope asked 2/3, 2016 at 12:54

1

Solved

I just started learning Phinx, and I am needing to change the collation of a column to latin1_swedish_ci. I'm not finding documentation on how to do this. I'm assuming it would be similar to: -&gt...
Sustainer asked 20/1, 2017 at 19:7

1

Solved

I know there has been a couple of posts similar to this one, but they are not giving me the answer I need. So, I'm using Phinx and I am trying to add a foreign key, but I get the following error: ...
Leopard asked 24/1, 2017 at 22:27

1

I'll be brief: I have a TYPO3 with composer installed. Let us have a look at the require part from TYPO3. "require": { "php": ">=5.5.0", "ext-fileinfo": "*", "ext-json": "*", "ext-pcre": ...
Indulge asked 5/7, 2016 at 17:18

3

Solved

I want to add column in my existing table in CakePHP 3. My ContactsTable.php file code: <?php namespace App\Model\Table; use Cake\ORM\Table; use Migrations\AbstractMigration; class ContactsTa...
Petromilli asked 21/5, 2016 at 11:7

1

Solved

I've got some simple updates inside my migration with strings that may contain special characters. For example: $this->execute("UPDATE `setting` SET `classname` = 'org\foo\Bar' WHERE `id` = 1 "...
Katelyn asked 18/4, 2016 at 15:7
1

© 2022 - 2024 — McMap. All rights reserved.