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

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 ...@@ -9,9 +9,9 @@ default: &default
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000 timeout: 5000
# development: development:
# <<: *default <<: *default
# database: db/development.sqlite3 database: db/development.sqlite3
# Warning: The database defined as "test" will be erased and # Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake". # re-generated from your development database when you run "rake".
...@@ -20,20 +20,19 @@ test: ...@@ -20,20 +20,19 @@ test:
<<: *default <<: *default
database: db/test.sqlite3 database: db/test.sqlite3
development: # development:
adapter: mysql2 # adapter: mysql2
database: <%= ENV.fetch("DB_DATABASE") { "schedules" } %> # database: <%= ENV.fetch("DB_DATABASE") { "schedules" } %>
username: <%= ENV.fetch("DB_USERNAME") { "root" } %> # username: <%= ENV.fetch("DB_USERNAME") { "root" } %>
password: <%= ENV.fetch("DB_PASSWORD") { "root" } %> # password: <%= ENV.fetch("DB_PASSWORD") { "root" } %>
host: <%= ENV.fetch("DB_HOST") { "localhost" } %> # host: <%= ENV.fetch("DB_HOST") { "localhost" } %>
port: <%= ENV.fetch("DB_PORT") { 5432 } %> # port: <%= ENV.fetch("DB_PORT") { 5432 } %>
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> # pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000 # timeout: 5000
production: production:
adapter: mysql2 adapter: mysql2
encoding: unicode database: <%= ENV.fetch("DB_DATABASE") { "schedules" } %>
database: <%= ENV.fetch("DB_DATABASE") { "" } %>
username: <%= ENV.fetch("DB_USERNAME") { "" } %> username: <%= ENV.fetch("DB_USERNAME") { "" } %>
password: <%= ENV.fetch("DB_PASSWORD") { "" } %> password: <%= ENV.fetch("DB_PASSWORD") { "" } %>
host: <%= ENV.fetch("DB_HOST") { "localhost" } %> 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