From 13ca712ce986be46e1068005290862434a6551cb Mon Sep 17 00:00:00 2001 From: Matt Young Date: Tue, 10 Jun 2025 23:46:49 -0500 Subject: [PATCH] Add sheet_total column to score_sheets table --- ...eet_total_column_to_score_sheets_table.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2025_06_11_043508_add_sheet_total_column_to_score_sheets_table.php diff --git a/database/migrations/2025_06_11_043508_add_sheet_total_column_to_score_sheets_table.php b/database/migrations/2025_06_11_043508_add_sheet_total_column_to_score_sheets_table.php new file mode 100644 index 0000000..9714f66 --- /dev/null +++ b/database/migrations/2025_06_11_043508_add_sheet_total_column_to_score_sheets_table.php @@ -0,0 +1,28 @@ +decimal('sheet_total', 9, 6)->after('subscores'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('score_sheets', function (Blueprint $table) { + $table->dropColumn('sheet_total'); + }); + } +};