diff --git a/src/PHPCensor/Migrations/20170226132922_fixed_build_log_column_for_mysql2.php b/src/PHPCensor/Migrations/20170226132922_fixed_build_log_column_for_mysql2.php new file mode 100644 index 00000000..3b7b9bb9 --- /dev/null +++ b/src/PHPCensor/Migrations/20170226132922_fixed_build_log_column_for_mysql2.php @@ -0,0 +1,22 @@ +getAdapter(); + if ($adapter instanceof MysqlAdapter) { + $this + ->table('build') + ->changeColumn('log', MysqlAdapter::PHINX_TYPE_TEXT, ['limit' => MysqlAdapter::TEXT_LONG, 'null' => true]) + ->save(); + } + } + + public function down() + { + } +}