0
0
Fork 0

Use enum-generated scopes/queries for BulkImport (#29975)

This commit is contained in:
Matt Jankowski 2024-04-18 06:13:35 -04:00 committed by GitHub
parent 630572323f
commit 11e0049b08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 9 deletions

View file

@ -38,7 +38,7 @@ class BulkImport < ApplicationRecord
scheduled: 1,
in_progress: 2,
finished: 3,
}
}, prefix: true
validates :type, presence: true