transaction
This commit is contained in:
@ -60,6 +60,17 @@ return new class extends Migration
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
\kernel\App::$db->schema->create('card_transaction', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->integer('from')->nullable(false);
|
||||
$table->integer('to')->nullable(false);
|
||||
$table->integer('amount')->nullable(false);
|
||||
$table->integer('type')->nullable(false)->default(1);
|
||||
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
\kernel\App::$db->schema->create('card', function (Blueprint $table) {
|
||||
$table->increments('id')->from(105545);
|
||||
$table->integer('user_id')->nullable(false);
|
||||
|
Reference in New Issue
Block a user