We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2d073 commit b52a308Copy full SHA for b52a308
lib/tasks/actual_db_schema.rake
@@ -1,6 +1,17 @@
1
# frozen_string_literal: true
2
3
namespace :actual_db_schema do # rubocop:disable Metrics/BlockLength
4
+ desc "Rollback migrations that were run inside not a merged branch."
5
+ task rollback_branches: "db:rollback_branches"
6
+
7
+ namespace :rollback_branches do
8
+ desc "Manually rollback phantom migrations one by one"
9
+ task manual: "db:rollback_branches:manual"
10
+ end
11
12
+ desc "List all phantom migrations - non-relevant migrations that were run inside not a merged branch."
13
+ task phantom_migrations: "db:phantom_migrations"
14
15
desc "Install ActualDbSchema initializer and post-checkout git hook."
16
task :install do
17
extend ActualDbSchema::OutputFormatter
0 commit comments