【发布时间】:2018-03-20 08:52:53
【问题描述】:
我的database.yml 看起来像
development: &development
adapter: oracle_enhanced
database: some_db
username: admin
password: password
temp_development:
<<: *development
username: another_user
password: another_password
auth_development:
<<: *development
username: authority
password: authority
当我运行rake db:schema:dump 时,它会将用户admin 创建的所有表转储到schema.rb,我如何转储在另一个模式中创建或由其他用户(如 another_user 和权限在schema.rb
【问题讨论】:
标签: ruby-on-rails ruby-on-rails-3 ruby-on-rails-4