phinx icon indicating copy to clipboard operation
phinx copied to clipboard

PHP Database Migrations for Everyone

Results 164 phinx issues
Sort by recently updated
recently updated
newest added

Is there a way to get foreign keys from the table or adapter? This method is currently protected and [lives within the adapters ](https://github.com/cakephp/phinx/blob/master/src/Phinx/Db/Adapter/MysqlAdapter.php#L813) and used to be public but...

feature

This is an issue to track removing this deprecated value, targeted at doing it for 0.14, so that it is not forgotten for a couple of releases, which has happened...

major

Even if there is no formal command or other provision to support consolidation of migration files, it would still be useful to document a working procedure to achieve this. Migration...

docs
feature

I couldn't find a way to execute something like ``` alter table table.column add constraint column_length check (length(column) >= 6); ```

We've adopted a CakePHP project which uses quite a number of views. It doesn't have migrations currently, so we're in the process of setting them up. I don't see any...

feature

I am tearing my hair out here. Given I have the following Symfony commands: ```php

I encountered an error when using the literal type to change columns. ``` use Phinx\Db\Adapter\MysqlAdapter; use Phinx\Util\Literal; class ContactsGenerated2 extends Phinx\Migration\AbstractMigration { public function change() { $this->execute('SET unique_checks=0; SET foreign_key_checks=0;');...

I'm new to phinx but it seems to be a rock solid tool that cover all my needs. I like that smart "change" method, but if I want to create...

I'm not sure how to describe this problem, but I know exactly which release causes the issue and I'm assuming something has changed that is affecting my environment, but looking...

Hello Team! Will be nice if the options for addForeignKey were expanded to add MATCH for references for the syntax ``` ALTER TABLE public.some_table ADD CONSTRAINT some_fk FOREIGN KEY (some_column)...