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.
2 parents 1908710 + 6bfe665 commit 3e582eaCopy full SHA for 3e582ea
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
@@ -707,6 +707,10 @@ def exec_name
707
2.times { app.run "bin/rails db:migrate" }
708
end
709
710
+
711
+ test "rails db:system:change" do
712
+ assert_success "bin/rails db:system:change --to=sqlite3"
713
+ end
714
715
716
0 commit comments