We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@bellycard/platform @darbyfrey
so far, the current database rake tasks we have get us by pretty far:
https://github.com/bellycard/napa/blob/master/lib/tasks/db.rake
but there are other niceties in ActiveRecord that we're not leveraging (such as migrating up/down a version):
https://github.com/rails/rails/blob/e46202139647b458b8c3d5eb3a0dff29474159d3/activerecord/lib/active_record/railties/databases.rake
I'm not quite sure loading the databases.rake file would be a quick and dirty solution because there's still some Rails-specific stuff there.
databases.rake
There also might be other rake tasks that we could use.
The text was updated successfully, but these errors were encountered:
This might also fix an issue I'm having where none of the rake db:* tasks work because my DB server is not on localhost.
https://github.com/bellycard/napa/blob/master/lib/tasks/db.rake#L27
The options hash never gets the host, username, password, or database options from the database.yml.
options
database.yml
Sorry, something went wrong.
I made a quick patch to fix the issue I saw. #202
No branches or pull requests
@bellycard/platform @darbyfrey
so far, the current database rake tasks we have get us by pretty far:
https://github.com/bellycard/napa/blob/master/lib/tasks/db.rake
but there are other niceties in ActiveRecord that we're not leveraging (such as migrating up/down a version):
https://github.com/rails/rails/blob/e46202139647b458b8c3d5eb3a0dff29474159d3/activerecord/lib/active_record/railties/databases.rake
I'm not quite sure loading the
databases.rake
file would be a quick and dirty solution because there's still some Rails-specific stuff there.There also might be other rake tasks that we could use.
The text was updated successfully, but these errors were encountered: