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 184ecda commit 6bfe665Copy full SHA for 6bfe665
lib/spring/client/rails.rb
@@ -20,7 +20,7 @@ def call
20
21
if COMMANDS.include?(command_name)
22
Run.call(["rails_#{command_name}", *args.drop(2)])
23
- elsif command_name&.start_with?("db:")
+ elsif command_name&.start_with?("db:") && !command_name.start_with?("db:system")
24
Run.call(["rake", *args.drop(1)])
25
else
26
require "spring/configuration"
test/support/acceptance_test.rb
@@ -702,6 +702,10 @@ def exec_name
702
2.times { app.run "bin/rails db:migrate" }
703
end
704
705
+
706
+ test "rails db:system:change" do
707
+ assert_success "bin/rails db:system:change --to=sqlite3"
708
+ end
709
710
711
0 commit comments