|
@@ -21,6 +21,7 @@ final class ProfitShareReceiver extends AbstractMigration
|
|
|
{
|
|
{
|
|
|
$this->table('profit_share_receiver', ['comment' => '分账接收方'])
|
|
$this->table('profit_share_receiver', ['comment' => '分账接收方'])
|
|
|
->addColumn('user_id', 'integer', ['null' => false, 'signed' => false, 'comment' => '用户ID'])
|
|
->addColumn('user_id', 'integer', ['null' => false, 'signed' => false, 'comment' => '用户ID'])
|
|
|
|
|
+ ->addColumn('action', 'enum', ['null' => false, 'default' => 'add', 'values' => ['add', 'update'], 'comment' => '操作类型'])
|
|
|
->addColumn('order_no', 'string', ['null' => false, 'limit' => 22, 'comment' => '订单编号'])
|
|
->addColumn('order_no', 'string', ['null' => false, 'limit' => 22, 'comment' => '订单编号'])
|
|
|
->addColumn('org_code', 'string', ['null' => false, 'limit' => 32, 'comment' => '机构编号'])
|
|
->addColumn('org_code', 'string', ['null' => false, 'limit' => 32, 'comment' => '机构编号'])
|
|
|
->addColumn('receiver_name', 'string', ['null' => false, 'limit' => 64, 'comment' => '分账接收方名称'])
|
|
->addColumn('receiver_name', 'string', ['null' => false, 'limit' => 64, 'comment' => '分账接收方名称'])
|