discourse/app/models/badge_grouping.rb

23 lines
417 B
Ruby
Raw Normal View History

class BadgeGrouping < ActiveRecord::Base
2014-07-17 02:10:44 -04:00
GettingStarted = 1
Community = 2
Posting = 3
TrustLevel = 4
Other = 5
2014-07-17 02:10:44 -04:00
has_many :badges
end
2014-07-17 02:10:44 -04:00
# == Schema Information
#
# Table name: badge_groupings
#
# id :integer not null, primary key
# name :string(255) not null
2014-07-21 22:46:31 -04:00
# description :text
2014-07-17 02:10:44 -04:00
# position :integer not null
# created_at :datetime
# updated_at :datetime
#