|
|
@ -15,7 +15,7 @@ class UpdateDemandProductTable extends Migration |
|
|
{ |
|
|
{ |
|
|
Schema::table('demand_products', function (Blueprint $table) { |
|
|
Schema::table('demand_products', function (Blueprint $table) { |
|
|
$table->json('extends')->default(null)->comment('扩展字段,根据type不同,字段名不同'); |
|
|
$table->json('extends')->default(null)->comment('扩展字段,根据type不同,字段名不同'); |
|
|
$table->tinyInteger('type')->default(0)->comment('0:旅游线路、1:洒店、2:景区、3:餐厅、4:车队、5:单项'); |
|
|
|
|
|
|
|
|
$table->tinyInteger('type')->default(0)->comment('0:旅游线路、1:酒店、2:景区、3:餐厅、4:车队、5:单项'); |
|
|
$table->integer('service_persons')->default(1)->comment('service_persons'); |
|
|
$table->integer('service_persons')->default(1)->comment('service_persons'); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|