Skip to content

Commit 81501ed

Browse files
committed
fixup! feat: add import report and errors models #216
1 parent a00da48 commit 81501ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/import_report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class ImportReport < ApplicationRecord
33

44
validates :import_type, presence: true
55

6-
enum status: { pending: "pending", completed: "completed", failed: "failed" }
6+
enum :status, { pending: "pending", completed: "completed", failed: "failed" }
77

88
scope :recent, -> { order(created_at: :desc) }
99
scope :by_type, ->(type) { where(import_type: type) }

0 commit comments

Comments
 (0)