|
|
|
@ -13,7 +13,8 @@ return new class extends Migration |
|
|
|
{ |
|
|
|
Schema::create('parking_space_type', function (Blueprint $table) { |
|
|
|
$table->id(); |
|
|
|
$table->string('name')->unique()->comment('车位类型名称'); |
|
|
|
$table->string('name')->comment('车位类型名称'); |
|
|
|
$table->string('code', 50)->default('')->comment('code'); |
|
|
|
$table->tinyInteger('is_default')->default(0)->comment('是否为默认车位类型 0否 1是'); |
|
|
|
$table->string('default_color_occupy', 50)->nullable()->comment('默认指示灯颜色(占用)'); |
|
|
|
$table->string('default_color_vacant', 50)->nullable()->comment('默认指示灯颜色(空置)'); |
|
|
|
|