<?php

use Phinx\Migration\AbstractMigration;

class FixTxnLineForeignKeys extends AbstractMigration
{
    public function change()
    {
      $table= $this->table('txn_line', [ 'signed' => false ]);
      $table
        ->renameColumn('txn', 'txn_id')
        ->renameColumn('item', 'item_id')
        ->save();
    }
}

Add _id to txn_line.txn and txn_line.item
Add _id to txn_line.txn and txn_line.item
