Skip to content

Instantly share code, notes, and snippets.

@phlco
Created March 8, 2013 15:31
Show Gist options
  • Save phlco/5117236 to your computer and use it in GitHub Desktop.
Save phlco/5117236 to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
development:
adapter: postgresql
encoding: unicode
database: ${2:db}_development
host: localhost
pool: 5
username: ${1:username}
password:
test:
adapter: postgresql
encoding: unicode
database: ${2:db}_test
pool: 5
username: ${1:username}
password:
production:
adapter: postgresql
encoding: unicode
database: ${2:db}_production
pool: 5
username: ${1:username}
password:
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>postresdb</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.yaml</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment