Skip to content

Commit 356a045

Browse files
committed
Merge branch 'free-printing-credits' into development
2 parents 89dc5fd + f7f2e16 commit 356a045

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

database/migrations/2025_02_15_113728_rename_free_pages_to_credits.php

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public function up(): void
2828
DB::table('print_account_history')
2929
->update(array(
3030
'free_printing_credits_change' => DB::raw('free_printing_credits_change * ' . env('PRINT_COST_ONESIDED', '8')),
31+
'modified_at' => DB::raw('modified_at'),
3132
));
3233
}
3334

@@ -39,6 +40,7 @@ public function down(): void
3940
DB::table('print_account_history')
4041
->update(array(
4142
'free_printing_credits_change' => DB::raw('free_printing_credits_change / ' . env('PRINT_COST_ONESIDED', '8')),
43+
'modified_at' => DB::raw('modified_at'),
4244
));
4345
Schema::table('print_account_history', function (Blueprint $table) {
4446
$table->renameColumn('free_printing_credits_change', 'free_page_change');

0 commit comments

Comments
 (0)