From 314c4ec5a2b53d7dc925fc84ea74103b9f0f9a1c Mon Sep 17 00:00:00 2001 From: Tb Fajri Date: Tue, 26 Sep 2023 10:10:28 +0700 Subject: [PATCH] update table --- ...2023_09_26_100614_add_column_to_claims.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/migrations/2023_09_26_100614_add_column_to_claims.php diff --git a/database/migrations/2023_09_26_100614_add_column_to_claims.php b/database/migrations/2023_09_26_100614_add_column_to_claims.php new file mode 100644 index 00000000..a37f739a --- /dev/null +++ b/database/migrations/2023_09_26_100614_add_column_to_claims.php @@ -0,0 +1,34 @@ +char('uuid')->after('id'); + $table->string('claim_request_id')->after('code'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('claims', function (Blueprint $table) { + $table->dropColumn('uuid'); + $table->dropColumn('claim_request_id'); + }); + } +};