File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -120,9 +120,25 @@ and reporting of the bulk enqueuing process.
120
120
121
121
TODO: Add description
122
122
123
- ### Introduce adapter for Trilogy
123
+ ### Introduce adapter for ` Trilogy `
124
+
125
+ A [ new adapter has been introduced] ( https://github.com/rails/rails/pull/47880 ) to facilitate the
126
+ seamless integration of ` Trilogy ` , a MySQL-compatible database client, with Rails applications.
127
+ Now, Rails applications have the option to incorporate ` Trilogy ` functionality by configuring their
128
+ ` config/database.yml ` file. For instance:
129
+
130
+ ``` yaml
131
+ development :
132
+ adapter : trilogy
133
+ database : blog_development
134
+ pool : 5
135
+ ` ` `
136
+
137
+ Alternatively, integration can be achieved using the ` DATABASE_URL` environment variable:
124
138
125
- TODO: Add description https://github.com/rails/rails/pull/47880
139
+ ` ` ` ruby
140
+ ENV['DATABASE_URL'] # => "trilogy://localhost/blog_development?pool=5"
141
+ ` ` `
126
142
127
143
# ## Add `ActiveSupport::MessagePack`
128
144
You can’t perform that action at this time.
0 commit comments