Skip to content

Commit ea357e3

Browse files
Bump version to 2.12.1 in composer.json; add monthly database optimization command to console schedule
1 parent 398b85a commit ea357e3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@
103103
},
104104
"minimum-stability": "dev",
105105
"prefer-stable": true,
106-
"version": "2.12.0"
106+
"version": "2.12.1"
107107
}

routes/console.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@
1919
->timezone(config('app.schedule_timezone'))
2020
->sentryMonitor();
2121
}
22+
Schedule::command('db:optimize')->monthly()
23+
->withoutOverlapping()
24+
->runInBackground()
25+
->timezone(config('app.schedule_timezone'))
26+
->sentryMonitor();

0 commit comments

Comments
 (0)