phinx
phinx copied to clipboard
PHP Database Migrations for Everyone
When using --dry-run, renaming tables causes Phinx to get confused with names and it's unable to generate the SQL commands. When just running the migrations, it works fine. I've included...
Hello, On some DBMS (like PostgreSQL) it is possible to have deferrable constraints. This is useful and we use this feature for almost all of our Foreign Key constraints. It...
I have the need to run migrations using this tool on a MS SqlServer ( Microsoft Dynamics Nav) which is case sensitive. I cannot do anything because I have the...
Hey, I'm trying to get [getDependencies()](http://docs.phinx.org/en/latest/seeding.html?highlight=getDependencies#foreign-key-dependencies) to work with namespaced seeders. I have the following code: ```
When I write this code `$this->table('table1')->changeColumn('time', 'time', ['null' => true, 'timezone' => false]);` I have PDO error **You might need to specify "USING "time"::time without time zone".** How I can...
I cannot seed binary data as I have no option to allow me to set `PDO::PARAM_LOB` anywhere, and as far as I can see, it is not set in the...
We had the migration folder setup incorrectly (could not be found / didn't exist). When trying to run a migration, it simply said 'All Done', even though migrations were meant...
How is it possible to set a column type in postgre from this list https://www.postgresql.org/docs/9.5/static/datatype.html ? In the documentation, it is only information about "smallint, json, jsonb and uuid" but...
``` php $this->changeColumn('website', null, ['default'=>'null']) ``` This should keep the column type as is but just makes it null-able. Right now you have to specify the current column type for...
In order to stop polluting the global namespace we will move migration classes under the `Phinx\Migration` namespace. This also conforms to PSR-2.