|
@@ -87,7 +87,7 @@ class Wuliu extends AbstractMigration
|
|
|
->addColumn('courier_phone', 'string', ['limit' => 32, 'default' => '', 'comment' => '快递员电话'])
|
|
->addColumn('courier_phone', 'string', ['limit' => 32, 'default' => '', 'comment' => '快递员电话'])
|
|
|
->addColumn('take_time', 'string', ['limit' => 32, 'default' => '', 'comment' => '发货到收货消耗时长'])
|
|
->addColumn('take_time', 'string', ['limit' => 32, 'default' => '', 'comment' => '发货到收货消耗时长'])
|
|
|
->addColumn('logo', 'string', ['limit' => 255, 'default' => '', 'comment' => '快递公司LOGO'])
|
|
->addColumn('logo', 'string', ['limit' => 255, 'default' => '', 'comment' => '快递公司LOGO'])
|
|
|
- ->addTimestamps()
|
|
|
|
|
|
|
+ ->addTimestamps('create_time', 'update_time')
|
|
|
->addIndex('number')
|
|
->addIndex('number')
|
|
|
->create();
|
|
->create();
|
|
|
}
|
|
}
|