mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
annotate models
This commit is contained in:
@ -368,7 +368,7 @@ end
|
||||
# Table name: badges
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# name :string(255) not null
|
||||
# name :string not null
|
||||
# description :text
|
||||
# badge_type_id :integer not null
|
||||
# grant_count :integer default(0), not null
|
||||
@ -376,7 +376,7 @@ end
|
||||
# updated_at :datetime not null
|
||||
# allow_title :boolean default(FALSE), not null
|
||||
# multiple_grant :boolean default(FALSE), not null
|
||||
# icon :string(255) default("fa-certificate")
|
||||
# icon :string default("fa-certificate")
|
||||
# listable :boolean default(TRUE)
|
||||
# target_posts :boolean default(FALSE)
|
||||
# query :text
|
||||
@ -391,5 +391,6 @@ end
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_badges_on_name (name) UNIQUE
|
||||
# index_badges_on_badge_type_id (badge_type_id)
|
||||
# index_badges_on_name (name) UNIQUE
|
||||
#
|
||||
|
Reference in New Issue
Block a user