diff --git a/database/migrations/2020_01_11_202554_add_virtual_device_platform.php b/database/migrations/2020_01_11_202554_add_virtual_device_platform.php new file mode 100644 index 00000000..a8698256 --- /dev/null +++ b/database/migrations/2020_01_11_202554_add_virtual_device_platform.php @@ -0,0 +1,32 @@ +integer('platform_type')->unsigned()->default(0)->comment('平台类型'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('virtual_devices', function (Blueprint $table) { + $table->dropColumn('platform_type'); + }); + } +}