ufutx.dma/database/migrations/2024_08_21_161757_change_app_version.php
2026-03-04 14:42:40 +08:00

30 lines
612 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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()
{
//
}
};