discourse/app/models/badge_grouping.rb

25 lines
477 B
Ruby
Raw Normal View History

class BadgeGrouping < ActiveRecord::Base
2014-07-17 02:10:44 -04:00
module Position
GettingStarted = 10
Community = 11
Posting = 12
TrustLevel = 13
Other = 14
end
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
# description :string(255) not null
# position :integer not null
# created_at :datetime
# updated_at :datetime
#