mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:59:50 +08:00
annotate models
This commit is contained in:
parent
5c524ea8a4
commit
04fdada96a
|
@ -127,12 +127,13 @@ end
|
|||
#
|
||||
# Table name: post_action_types
|
||||
#
|
||||
# name_key :string(50) not null
|
||||
# is_flag :boolean default(FALSE), not null
|
||||
# icon :string(20)
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# id :integer not null, primary key
|
||||
# position :integer default(0), not null
|
||||
# score_bonus :float default(0.0), not null
|
||||
# name_key :string(50) not null
|
||||
# is_flag :boolean default(FALSE), not null
|
||||
# icon :string(20)
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# id :integer not null, primary key
|
||||
# position :integer default(0), not null
|
||||
# score_bonus :float default(0.0), not null
|
||||
# reviewable_priority :integer default(0), not null
|
||||
#
|
||||
|
|
|
@ -18,6 +18,5 @@ end
|
|||
# Indexes
|
||||
#
|
||||
# index_topic_custom_fields_on_topic_id_and_name (topic_id,name)
|
||||
# index_topic_custom_fields_on_value (value) UNIQUE WHERE ((name)::text = 'commit hash'::text)
|
||||
# topic_custom_fields_value_key_idx (value,name) WHERE ((value IS NOT NULL) AND (char_length(value) < 400))
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user