7 use Phinx\Migration\AbstractMigration;
15 public function up() {
18 $tableName =
"lnappuser";
19 $table = $this->table( $tableName );
22 $hasColumn = $table->hasColumn(
'user_name');
29 print
"Migration - Upgrade $cu {$tableName}\n";
35 $table->removeColumn(
'user_name')
41 $table->addColumn(
'banking_user_id',
'integer', array(
'null' =>
true))