mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
Annotate models.
This commit is contained in:
parent
084e15b447
commit
e66eefe179
@ -317,13 +317,12 @@ end
|
|||||||
#
|
#
|
||||||
# Table name: color_schemes
|
# Table name: color_schemes
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string not null
|
||||||
# version :integer default(1), not null
|
# version :integer default(1), not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# via_wizard :boolean default(FALSE), not null
|
# via_wizard :boolean default(FALSE), not null
|
||||||
# base_scheme_id :string
|
# base_scheme_id :string
|
||||||
# theme_id :integer
|
# theme_id :integer
|
||||||
# user_selectable :boolean default(FALSE), not null
|
|
||||||
#
|
#
|
||||||
|
@ -17,6 +17,7 @@ end
|
|||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
# idx_regular_post_search_data (search_data) WHERE (NOT private_message) USING gin
|
||||||
# idx_search_post (search_data) USING gin
|
# idx_search_post (search_data) USING gin
|
||||||
# index_post_search_data_on_post_id_and_version_and_locale (post_id,version,locale)
|
# index_post_search_data_on_post_id_and_version_and_locale (post_id,version,locale)
|
||||||
#
|
#
|
||||||
|
@ -17,6 +17,7 @@ end
|
|||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
# index_topic_custom_fields_on_topic_id_and_name (topic_id,name)
|
# idx_topic_custom_fields_topic_post_event_starts_at (name,topic_id) UNIQUE WHERE ((name)::text = 'TopicEventStartsAt'::text)
|
||||||
# topic_custom_fields_value_key_idx (value,name) WHERE ((value IS NOT NULL) AND (char_length(value) < 400))
|
# index_topic_custom_fields_on_topic_id_and_name (topic_id,name)
|
||||||
|
# topic_custom_fields_value_key_idx (value,name) WHERE ((value IS NOT NULL) AND (char_length(value) < 400))
|
||||||
#
|
#
|
||||||
|
@ -17,5 +17,6 @@ end
|
|||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
# idx_user_custom_fields_on_holiday (name,user_id) UNIQUE WHERE ((name)::text = 'on_holiday'::text)
|
||||||
# index_user_custom_fields_on_user_id_and_name (user_id,name)
|
# index_user_custom_fields_on_user_id_and_name (user_id,name)
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user