Update enum syntax to use the new Rails 7.0 style (#29217)
This commit is contained in:
@@ -19,7 +19,7 @@ class IpBlock < ApplicationRecord
|
||||
include Expireable
|
||||
include Paginable
|
||||
|
||||
enum severity: {
|
||||
enum :severity, {
|
||||
sign_up_requires_approval: 5000,
|
||||
sign_up_block: 5500,
|
||||
no_access: 9999,
|
||||
|
||||
Reference in New Issue
Block a user