Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the dummy app available to bin/console
Usage example: $ bin/console USAGE: dummy_app # Load the dummy app and return the Rails.application instance dummy_app.initialize! # Initialize the dummy app dummy_app.migrate! # Run all the dummy app migrations >> dummy_app Loading the dummy app...done. => #<DummyApp::Application root=/Users/elia/Code/Nebulab/solidus> >> dummy_app.initialize! => #<DummyApp::Application root=/Users/elia/Code/Nebulab/solidus> >> dummy_app.migrate! == 20100107141738 AddApiKeyToSpreeUsers: migrating ============================ -- add_column(:spree_users, :api_key, :string, {:limit=>40}) -> 0.0019s == 20100107141738 AddApiKeyToSpreeUsers: migrated (0.0020s) =================== ... == 20190220093635 DropSpreeStoreCreditUpdateReasons: migrating ================ -- table_exists?(:spree_store_credit_update_reasons) -> 0.0003s -- drop_table(:spree_store_credit_update_reasons) -> 0.0002s -- column_exists?(:spree_store_credit_events, :update_reason_id) -> 0.0004s -- remove_column(:spree_store_credit_events, :update_reason_id) -> 0.0075s == 20190220093635 DropSpreeStoreCreditUpdateReasons: migrated (0.0084s) ======= => #<DummyApp::Application root=/Users/elia/Code/Nebulab/solidus> >>
- Loading branch information