Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
bilalhankins committed Jul 30, 2024
1 parent 86ea095 commit 84fa9a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/models/challenge.rb
Original file line number Diff line number Diff line change
@@ -100,10 +100,10 @@ class Challenge < ApplicationRecord
has_many :submissions, dependent: :destroy
has_many :submission_exports, dependent: :destroy

# JSON fields
attribute :types, :jsonb, default: []
attribute :timeline_events, :jsonb, default: []
attribute :phases, :jsonb, default: []
# JSON fields
attribute :types, :jsonb
attribute :timeline_events, :jsonb
attribute :phases, :jsonb

attribute :status, :string, default: "draft"
attribute :prize_total, :integer, default: 0

0 comments on commit 84fa9a7

Please sign in to comment.