-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phinx 0.5.2 #205
Phinx 0.5.2 #205
Conversation
deizel
commented
Mar 4, 2016
- Fixes missing interface method (Fatal error, migrations not working #202) (added in cakephp/phinx@v0.5.1...v0.5.2)
- Adds support for following features: https://github.com/robmorgan/phinx#version-history
I was working on adding support for 0.5.2 and implementing the new status output (and adding tests for it) as well as adding support for fulltext index for MySQL. It is almost ready, I just have to tune the new build for MySQL 5.6 a bit to pass (since there is support for fulltext index on innodb only from 5.6 and upward and Travis runs 5.5 by default). See the diff : master...HavokInspiration:phinx-0.5.2 |
Merged it. I'll build my additions on top of it. |
Thanks @HavokInspiration and sorry for jumping the gun - I had forked this and phinx to get some features I needed, so figured I would submit a PR instead of leaving it on my own fork. ;) I had looked briefly at implementing |
Don't worry, everything is going forward at the end of the day. Out of curiosity, what features did you needed ? |
Good stuff - for now it was the |
Yes, I'm waiting for cakephp/phinx#768 as well. use Migrations\AbstractMigration;
class CreateProductsTable extends AbstractMigration
{
public $autoId = false;
public function up()
{
$table = $this->table('products');
$table
->addColumn('id', 'integer', [
'autoIncrement' => true,
'signed' => false,
'limit' => 11
])
->addPrimaryKey('id')
->addColumn('name', 'string')
->addColumn('description', 'text')
->create();
}
} |