Skip to content

Commit

Permalink
transactions type updated
Browse files Browse the repository at this point in the history
  • Loading branch information
krutyosila committed Dec 4, 2020
1 parent ee1fd0e commit 1ae8131
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class UpdateWalletTransactionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::statement("ALTER TABLE wallet_transactions MODIFY type ENUM('deposit', 'withdraw', 'bet', 'win') NOT NULL");
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
}

0 comments on commit 1ae8131

Please sign in to comment.