Skip to content

Conversation

synth
Copy link

@synth synth commented May 14, 2015

No description provided.


# 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