process wallet journal job which is a new job to make system faster for cron

This commit is contained in:
2019-05-03 22:54:29 -05:00
parent aefe83a49a
commit cc8da2f494
4 changed files with 205 additions and 22 deletions

View File

@@ -0,0 +1,36 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class JobProcessWaletJournal extends Migration
{
/**
* Run the migration
*
* @return void
*/
public function up() {
if(!Schema::hasTable('job_process_wallet_journal')) {
Schema::create('job_process_wallet_journal', function(Blueprint $table) {
$table->increments('id')->unique();
$table->string('charId');
$table->string('division');
$table->integer('page');
$table->timestamps();
});
}
}
/**
* Reverse the migration
*
* @return void
*/
public function down() {
Schema::dropIfExists('job_process_wallet_journal');
}
}
?>