Skip to content

Instantly share code, notes, and snippets.

@julesfern
Created June 16, 2009 15:13
Show Gist options
  • Select an option

  • Save julesfern/130735 to your computer and use it in GitHub Desktop.

Select an option

Save julesfern/130735 to your computer and use it in GitHub Desktop.
---
# This is a sample database file for the DataMapper ORM
development: &defaults
# These are the settings for repository :default
adapter: sqlite3
database: schema/vj_core_development.db
repositories:
garden:
adapter: sqlite3
database: <%= Merb.root %>/schema/vj_core_garden_development.db
# SEED REPOSITORIES CREATED ON THE FLY... IN THE FUTURE!
test:
<<: *defaults
database: schema/vj_core_test.db
repositories:
garden:
adapter: sqlite3
database: <%= Merb.root %>/schema/vj_core_garden_test.db
production:
<<: *defaults
adapter: mysql
host: localhost
database: vj_core
username: vjuicer
password: insert-something-crafty-here
repositories:
garden:
adapter: mysql
host: localhost
database: vj_core_garden
username: vjuicer
password: insert-something-crafty-here
rake:
<<: *defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment