11/5/2022

This commit is contained in:
Nguyễn Tiến Dũng
2022-05-11 21:09:39 +07:00
parent 96e0513959
commit 3d31201a05
117 changed files with 38921 additions and 595 deletions

View File

@@ -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');

View File

@@ -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');
}
}

View File

@@ -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');
}
}

View File

@@ -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');
}
}