transaction

This commit is contained in:
2025-01-20 00:12:30 +03:00
parent 1ffa0581bf
commit 485c11de5f
16 changed files with 589 additions and 1 deletions

View File

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