diff options
Diffstat (limited to 'doc/development/verifying_database_capabilities.md')
-rw-r--r-- | doc/development/verifying_database_capabilities.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/verifying_database_capabilities.md b/doc/development/verifying_database_capabilities.md index 1413c782c5d..f6c78e51299 100644 --- a/doc/development/verifying_database_capabilities.md +++ b/doc/development/verifying_database_capabilities.md @@ -2,7 +2,7 @@ Sometimes certain bits of code may only work on a certain database version. While we try to avoid such code as much as possible sometimes it is -necessary to add database (version) specific behaviour. +necessary to add database (version) specific behavior. To facilitate this we have the following methods that you can use: @@ -12,7 +12,7 @@ To facilitate this we have the following methods that you can use: This allows you to write code such as: ```ruby -if Gitlab::Database.version.to_f >= 9.6 +if Gitlab::Database.version.to_f >= 11.7 run_really_fast_query else run_fast_query |