Skip to content
New issue

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

#61 - allow directory for db file to be an option #62

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

synth
Copy link

@synth synth commented May 14, 2015

No description provided.

@@ -36,6 +36,10 @@ Add to config/deploy.rb:
# if you want to remove the dump file from the server after downloading
set :db_remote_clean, true

# configure the local db filename
set :local_db_dir, "tmp"
set :prefix_db_with_stage, true #staging_appname_prod_20150501011.sql.bz2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

best way to have named prefix. For example

set :db_prefix, -> { fetch(:stage) }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants