process wallet journal job which is a new job to make system faster for cron
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user