开发者

How can i set custom directive in database.yml as default directive

开发者 https://www.devze.com 2023-04-12 08:25 出处:网络
I want to set report directive as default directive in my rails 开发者_如何学Pythonapplication development:

I want to set report directive as default directive in my rails 开发者_如何学Pythonapplication

development:
  adapter: mysql
  database: osvdb
  host: localhost
  username: root
  password: jeet
report:
  adapter: mysql
  database: report_db
  host: localhost
  username: root 
  password: jeet


report: &defaults
  adapter: mysql
  database: osvdb
  host: localhost
  username: root
  password: jeet

development:
  <<: *defaults
0

精彩评论

暂无评论...
验证码 换一张
取 消