|
@@ -6,7 +6,6 @@ use Phinx\Migration\AbstractMigration;
|
|
|
|
|
|
|
|
final class WechatDelivery extends AbstractMigration
|
|
final class WechatDelivery extends AbstractMigration
|
|
|
{
|
|
{
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* Change Method.
|
|
* Change Method.
|
|
|
*
|
|
*
|
|
@@ -21,7 +20,7 @@ final class WechatDelivery extends AbstractMigration
|
|
|
public function change(): void
|
|
public function change(): void
|
|
|
{
|
|
{
|
|
|
$this->table('wechat_delivery', ['signed' => false, 'comment' => '微信快递公司列表'])
|
|
$this->table('wechat_delivery', ['signed' => false, 'comment' => '微信快递公司列表'])
|
|
|
- ->addColumn('delivery_id', 'string', ['limit' =>32, 'comment' => '快递公司 ID'])
|
|
|
|
|
|
|
+ ->addColumn('delivery_id', 'string', ['limit' => 32, 'comment' => '快递公司 ID'])
|
|
|
->addColumn('delivery_name', 'string', ['comment' => '快递公司名称'])
|
|
->addColumn('delivery_name', 'string', ['comment' => '快递公司名称'])
|
|
|
->addColumn('can_use_cash', 'tinyinteger', ['signed' => false, 'comment' => '是否支持散单, 1表示支持'])
|
|
->addColumn('can_use_cash', 'tinyinteger', ['signed' => false, 'comment' => '是否支持散单, 1表示支持'])
|
|
|
->addColumn('can_get_quota', 'tinyinteger', ['signed' => false, 'comment' => '是否支持查询面单余额, 1表示支持'])
|
|
->addColumn('can_get_quota', 'tinyinteger', ['signed' => false, 'comment' => '是否支持查询面单余额, 1表示支持'])
|