Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
schedules
Commits
15b918c0
Commit
15b918c0
authored
Nov 24, 2019
by
Zac Wood
Browse files
remove unsupported unicode thing for db
parent
857d8003
Pipeline
#5205
passed with stage
in 7 minutes and 54 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
schedules/config/database.yml
View file @
15b918c0
...
@@ -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" } %>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment