|
@@ -40,8 +40,8 @@ class HydraulicAddFields extends Migrator
|
|
|
if ($this->hasTable('hydraulic')) {
|
|
|
$table = $this->table('hydraulic');
|
|
|
|
|
|
- $table ->addColumn('torque', 'string', ['limit' => 10,'null' => true,'signed' => true,'comment' => '扭矩',])
|
|
|
- ->addColumn('stress', 'string', ['limit' => 10,'null' => true,'signed' => true,'comment' => '压力',])
|
|
|
+ $table ->addColumn('imei', 'string', ['limit' => 32,'null' => true,'signed' => true,'comment' => 'imei号',])
|
|
|
+ ->addColumn('sim_card', 'string', ['limit' => 32,'null' => true,'signed' => true,'comment' => 'sim卡号',])
|
|
|
->update();
|
|
|
}
|
|
|
|