announce buy torrent add cache and lock

This commit is contained in:
xiaomlove
2023-06-01 01:41:14 +08:00
parent 29cbe19c21
commit ff325ad687
5 changed files with 77 additions and 11 deletions

View File

@@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->decimal("seedbonus", 20, 1)->change();
});
Schema::table('bonus_logs', function (Blueprint $table) {
$table->decimal("old_total_value", 20, 1)->change();
$table->decimal("value", 20, 1)->change();
$table->decimal("new_total_value", 20, 1)->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
};