30 lines
612 B
PHP
30 lines
612 B
PHP
<?php
|
||
|
||
use Illuminate\Database\Migrations\Migration;
|
||
use Illuminate\Database\Schema\Blueprint;
|
||
use Illuminate\Support\Facades\Schema;
|
||
use Illuminate\Support\Facades\DB;
|
||
|
||
return new class extends Migration {
|
||
/**
|
||
* Run the migrations.
|
||
*
|
||
* @return void
|
||
*/
|
||
public function up()
|
||
{
|
||
DB::statement("ALTER TABLE `ufutx_app_version`
|
||
ADD COLUMN `is_prod` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否正式 0:否 1:是' AFTER `update_flag`;");
|
||
}
|
||
|
||
/**
|
||
* Reverse the migrations.
|
||
*
|
||
* @return void
|
||
*/
|
||
public function down()
|
||
{
|
||
//
|
||
}
|
||
};
|