From 332a8578bcb1f4bf83c304059df045a1afded361 Mon Sep 17 00:00:00 2001 From: WildEgo Date: Wed, 15 Oct 2025 11:24:03 +0100 Subject: [PATCH] add: Gaya system. --- ..._10_14_151941_add_gem_column_to_tables.php | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 database/migrations/2025_10_14_151941_add_gem_column_to_tables.php diff --git a/database/migrations/2025_10_14_151941_add_gem_column_to_tables.php b/database/migrations/2025_10_14_151941_add_gem_column_to_tables.php new file mode 100644 index 0000000..b9deb9e --- /dev/null +++ b/database/migrations/2025_10_14_151941_add_gem_column_to_tables.php @@ -0,0 +1,36 @@ +integer('gem')->default(0)->after('gold'); + }); + + Schema::table('player_deleted', function (Blueprint $table) { + $table->integer('gem')->default(0)->after('gold'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('player', function (Blueprint $table) { + $table->dropColumn('gem'); + }); + + Schema::table('player_deleted', function (Blueprint $table) { + $table->dropColumn('gem'); + }); + } +};