11/5/2022
This commit is contained in:
@@ -16,7 +16,7 @@ class CreateMomosTable extends Migration
|
||||
Schema::create('momos', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('phone');
|
||||
$table->string('token');
|
||||
$table->longText('info');
|
||||
$table->string('password');
|
||||
$table->string('min');
|
||||
$table->string('max');
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateSettingsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('settings', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('keywords');
|
||||
$table->string('logo');
|
||||
$table->string('description');
|
||||
$table->string('favicon');
|
||||
$table->string('background');
|
||||
$table->integer('active');
|
||||
$table->integer('history');
|
||||
$table->integer('only_win');
|
||||
$table->integer('limit');
|
||||
$table->integer('day_mission');
|
||||
$table->integer('week_top');
|
||||
$table->string('ratioCL');
|
||||
$table->string('ratioCL2');
|
||||
$table->string('ratioTX');
|
||||
$table->string('ratioTX2');
|
||||
$table->string('ratio1P3');
|
||||
$table->string('ratioG3');
|
||||
$table->string('ratioH3');
|
||||
$table->string('ratioLO');
|
||||
$table->string('gift_week')->nullable();
|
||||
$table->string('gift_day')->nullable();
|
||||
$table->longText('note');
|
||||
$table->string('content');
|
||||
$table->string('content_day');
|
||||
$table->string('content_week');
|
||||
$table->longText('ads')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('settings');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateHistoryPlaysTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('history_plays', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('tranId')->unique();
|
||||
$table->string('partnerName');
|
||||
$table->string('partnerId');
|
||||
$table->string('comment');
|
||||
$table->integer('amount');
|
||||
$table->integer('receive');
|
||||
$table->integer('status');
|
||||
$table->integer('pay');
|
||||
$table->string('game');
|
||||
$table->string('phoneSend');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('history_plays');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateHistoryDayMissionsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('history_day_missions', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('phone');
|
||||
$table->integer('amount');
|
||||
$table->integer('level');
|
||||
$table->integer('receive');
|
||||
$table->integer('status');
|
||||
$table->integer('pay');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('history_day_missions');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user