diff --git a/database/migrations/2026_02_03_091006_add_last_fetch_columns_to_barobill_members_table.php b/database/migrations/2026_02_03_091006_add_last_fetch_columns_to_barobill_members_table.php new file mode 100644 index 0000000..4704e2c --- /dev/null +++ b/database/migrations/2026_02_03_091006_add_last_fetch_columns_to_barobill_members_table.php @@ -0,0 +1,29 @@ +timestamp('last_sales_fetch_at')->nullable()->comment('마지막 매출 조회 시간'); + $table->timestamp('last_purchases_fetch_at')->nullable()->comment('마지막 매입 조회 시간'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('barobill_members', function (Blueprint $table) { + $table->dropColumn(['last_sales_fetch_at', 'last_purchases_fetch_at']); + }); + } +};