25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.3KB

  1. production:
  2. adapter: mysql2
  3. database: {{ openproject_database_name }}
  4. host: {{ openproject_database_host }}
  5. username: {{ openproject_database_user }}
  6. password: {{ openproject_database_password }}
  7. encoding: utf8
  8. variables:
  9. # These are the default MySql Modes for rails 5.0 only excluding
  10. # ONLY_FULL_GROUP_BY which would interfere with the current implementation
  11. # of the query grouping by custom fields.
  12. sql_mode:
  13. "no_auto_value_on_zero,\
  14. strict_trans_tables,\
  15. no_zero_date,\
  16. strict_all_tables,\
  17. no_zero_in_date,\
  18. error_for_division_by_zero,\
  19. no_auto_create_user,\
  20. no_engine_substitution"
  21. development:
  22. adapter: mysql2
  23. database: {{ openproject_database_name }}
  24. host: {{ openproject_database_host }}
  25. username: {{ openproject_database_user }}
  26. password: {{ openproject_database_password }}
  27. encoding: utf8
  28. variables:
  29. # These are the default MySql Modes for rails 5.0 only excluding
  30. # ONLY_FULL_GROUP_BY which would interfere with the current implementation
  31. # of the query grouping by custom fields.
  32. sql_mode:
  33. "no_auto_value_on_zero,\
  34. strict_trans_tables,\
  35. no_zero_date,\
  36. strict_all_tables,\
  37. no_zero_in_date,\
  38. error_for_division_by_zero,\
  39. no_auto_create_user,\
  40. no_engine_substitution"