Extract to_utc_date arel method into databaseb helper module
requested to merge mwaw/move_to_date_arel_into_db_helper into mwaw/add_index_to_security_scans_on_created_at_and_build_id
What does this MR do?
It is follow up to @alinamihaila suggestion !48671 (comment 489451634)
It extracts private method added at usage_data.rb
file into lib database module, in order to make it reusable in different contexts
Screenshots (strongly suggested)
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
-
Documentation (as a code comment) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides