提交触发价到trigger_prices资料表
This commit is contained in:
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('trigger_prices', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->decimal('price', 20, 8)->comment('触发价格');
|
||||
$table->string('type', 50)->default('usdt_lak')->comment('用途标识,如 usdt_lak');
|
||||
$table->dateTime('created_at')->nullable();
|
||||
$table->dateTime('updated_at')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('trigger_prices');
|
||||
}
|
||||
};
|
||||
Executable → Regular
Executable → Regular
Reference in New Issue
Block a user