Commit 15b918c0 authored by Zac Wood's avatar Zac Wood

remove unsupported unicode thing for db

parent 857d8003
Pipeline #5205 passed with stage
in 7 minutes and 54 seconds
......@@ -9,9 +9,9 @@ default: &default
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
# development:
# <<: *default
# database: db/development.sqlite3
development:
<<: *default
database: db/development.sqlite3
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
......@@ -20,20 +20,19 @@ test:
<<: *default
database: db/test.sqlite3
development:
adapter: mysql2
database: <%= ENV.fetch("DB_DATABASE") { "schedules" } %>
username: <%= ENV.fetch("DB_USERNAME") { "root" } %>
password: <%= ENV.fetch("DB_PASSWORD") { "root" } %>
host: <%= ENV.fetch("DB_HOST") { "localhost" } %>
port: <%= ENV.fetch("DB_PORT") { 5432 } %>
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
# development:
# adapter: mysql2
# database: <%= ENV.fetch("DB_DATABASE") { "schedules" } %>
# username: <%= ENV.fetch("DB_USERNAME") { "root" } %>
# password: <%= ENV.fetch("DB_PASSWORD") { "root" } %>
# host: <%= ENV.fetch("DB_HOST") { "localhost" } %>
# port: <%= ENV.fetch("DB_PORT") { 5432 } %>
# pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
# timeout: 5000
production:
adapter: mysql2
encoding: unicode
database: <%= ENV.fetch("DB_DATABASE") { "" } %>
database: <%= ENV.fetch("DB_DATABASE") { "schedules" } %>
username: <%= ENV.fetch("DB_USERNAME") { "" } %>
password: <%= ENV.fetch("DB_PASSWORD") { "" } %>
host: <%= ENV.fetch("DB_HOST") { "localhost" } %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment