aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml
blob: e654dda695c377857e1e98c05098eedeefde2eb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# FrontBase versions 4.x
#
# Get the bindings:
#   gem install ruby-frontbase
#
# Configure Using Gemfile
# gem 'ruby-frontbase'
#
default: &default
  adapter: frontbase
  host: localhost
  username: <%= app_name %>
  password: ''

development:
  <<: *default
  database: <%= app_name %>_development

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  <<: *default
  database: <%= app_name %>_test

# Do not keep production credentials in the repository,
# instead read the configuration from the environment.
production:
  url: <%%= ENV["RAILS_DATABASE_URL"] %>