mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
use trilogy mysql
This commit is contained in:
1 parent
b7045fb3d9
commit
eb63113227
4 files changed
+14
-9
No files matched your search
+2
-3
@@ -30,9 +30,8 @@ production:
|
||||
<% elsif ENV['DATABASE_URL'].match?(/\Apostgres/) %>
|
||||
<<: *default
|
||||
url: <%= ENV['DATABASE_URL'] %>
|
||||
<% elsif ENV['DATABASE_URL'].match?(/\Amysql/) %>
|
||||
adapter: mysql2
|
||||
<% elsif ENV['DATABASE_URL'].match?(/\Amysql|\Atrilogy/) %>
|
||||
encoding: utf8mb4
|
||||
pool: <%= ENV.fetch('RAILS_MAX_THREADS', 15).to_i + ENV.fetch('SIDEKIQ_THREADS', 5).to_i %>
|
||||
url: <%= ENV['DATABASE_URL'] %>
|
||||
url: <%= ENV['DATABASE_URL'].sub(/\Amysql2?/, 'trilogy') %>
|
||||
<% end %>
|
||||
Reference in new issue
Block a user