DEV: update syntax tree to latest (#24623)

update format to latest syntax tree
This commit is contained in:
Sam
2023-11-29 16:38:07 +11:00
committed by GitHub
parent d40c0b698c
commit b09422428d
35 changed files with 123 additions and 124 deletions

View File

@ -4,11 +4,11 @@ class UserCustomField < ActiveRecord::Base
belongs_to :user
scope :searchable,
-> {
-> do
joins(
"INNER JOIN user_fields ON user_fields.id = REPLACE(user_custom_fields.name, 'user_field_', '')::INTEGER AND user_fields.searchable IS TRUE AND user_custom_fields.name like 'user_field_%'",
)
}
end
end
# == Schema Information