config.yml 599 B

12345678910111213141516171819202122232425262728
  1. # see https://github.com/ankane/blazer for more info
  2. data_sources:
  3. main:
  4. url: <%%= ENV["BLAZER_DATABASE_URL"] %>
  5. # timeout: 15 # applies to PostgreSQL only
  6. smart_variables:
  7. # zone_id: "SELECT id, name FROM zones ORDER BY name ASC"
  8. linked_columns:
  9. # user_id: "/admin/users/{value}"
  10. smart_columns:
  11. # user_id: "SELECT id, name FROM users WHERE id IN {value}"
  12. # create audits
  13. audit: true
  14. # change the time zone
  15. # time_zone: "Pacific Time (US & Canada)"
  16. # class name of the user model
  17. # user_class: User
  18. # method name for the user model
  19. # user_name: name