annotate models
WARNING annotators out there, be to run bin/annotate on RAILS_ENV=test on a clean db
This commit is contained in:
parent
56f7b4e01e
commit
c68999e128
|
@ -10,6 +10,7 @@ end
|
||||||
# search_data :tsvector
|
# search_data :tsvector
|
||||||
# raw_data :text
|
# raw_data :text
|
||||||
# locale :text
|
# locale :text
|
||||||
|
# version :integer default(0)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -10,8 +10,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# category_id :integer not null
|
# category_id :integer not null
|
||||||
# tag_id :integer not null
|
# tag_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -10,8 +10,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# category_id :integer not null
|
# category_id :integer not null
|
||||||
# tag_group_id :integer not null
|
# tag_group_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -10,8 +10,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# parent_theme_id :integer
|
# parent_theme_id :integer
|
||||||
# child_theme_id :integer
|
# child_theme_id :integer
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -57,8 +57,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# host :string not null
|
# host :string not null
|
||||||
# category_id :integer not null
|
# category_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# path_whitelist :string
|
# path_whitelist :string
|
||||||
# class_name :string
|
# class_name :string
|
||||||
#
|
#
|
||||||
|
|
|
@ -628,12 +628,13 @@ end
|
||||||
# flair_color :string
|
# flair_color :string
|
||||||
# bio_raw :text
|
# bio_raw :text
|
||||||
# bio_cooked :text
|
# bio_cooked :text
|
||||||
# public_admission :boolean default(FALSE), not null
|
|
||||||
# allow_membership_requests :boolean default(FALSE), not null
|
# allow_membership_requests :boolean default(FALSE), not null
|
||||||
# full_name :string
|
# full_name :string
|
||||||
# default_notification_level :integer default(3), not null
|
# default_notification_level :integer default(3), not null
|
||||||
# visibility_level :integer default(0), not null
|
# visibility_level :integer default(0), not null
|
||||||
# public_exit :boolean default(FALSE), not null
|
# public_exit :boolean default(FALSE), not null
|
||||||
|
# public_admission :boolean default(FALSE), not null
|
||||||
|
# membership_request_template :text
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -32,8 +32,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# group_id :integer not null
|
# group_id :integer not null
|
||||||
# topic_id :integer not null
|
# topic_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -10,8 +10,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# post_id :integer
|
# post_id :integer
|
||||||
# group_id :integer
|
# group_id :integer
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -10,8 +10,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# muted_user_id :integer not null
|
# muted_user_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -101,8 +101,8 @@ end
|
||||||
# topic_id :integer
|
# topic_id :integer
|
||||||
# post_id :integer
|
# post_id :integer
|
||||||
# category_id :integer
|
# category_id :integer
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# external_url :string(1000)
|
# external_url :string(1000)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
|
|
|
@ -10,6 +10,7 @@ end
|
||||||
# search_data :tsvector
|
# search_data :tsvector
|
||||||
# raw_data :text
|
# raw_data :text
|
||||||
# locale :string
|
# locale :string
|
||||||
|
# version :integer default(0)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -11,8 +11,8 @@ end
|
||||||
# drafts_saved :integer
|
# drafts_saved :integer
|
||||||
# typing_duration_msecs :integer
|
# typing_duration_msecs :integer
|
||||||
# composer_open_duration_msecs :integer
|
# composer_open_duration_msecs :integer
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -125,8 +125,8 @@ end
|
||||||
# approved_at :datetime
|
# approved_at :datetime
|
||||||
# rejected_by_id :integer
|
# rejected_by_id :integer
|
||||||
# rejected_at :datetime
|
# rejected_at :datetime
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -155,6 +155,6 @@ end
|
||||||
# license_url :string
|
# license_url :string
|
||||||
# commits_behind :integer
|
# commits_behind :integer
|
||||||
# remote_updated_at :datetime
|
# remote_updated_at :datetime
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
|
|
@ -37,8 +37,8 @@ end
|
||||||
# target :string not null
|
# target :string not null
|
||||||
# digest :string not null
|
# digest :string not null
|
||||||
# content :text not null
|
# content :text not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# theme_id :integer default(-1), not null
|
# theme_id :integer default(-1), not null
|
||||||
# source_map :text
|
# source_map :text
|
||||||
#
|
#
|
||||||
|
|
|
@ -65,8 +65,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string not null
|
||||||
# topic_count :integer default(0), not null
|
# topic_count :integer default(0), not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -29,8 +29,8 @@ end
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# parent_tag_id :integer
|
# parent_tag_id :integer
|
||||||
# one_per_topic :boolean default(FALSE)
|
# one_per_topic :boolean default(FALSE)
|
||||||
#
|
#
|
||||||
|
|
|
@ -10,8 +10,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# tag_id :integer not null
|
# tag_id :integer not null
|
||||||
# tag_group_id :integer not null
|
# tag_group_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -161,8 +161,8 @@ end
|
||||||
# tag_id :integer not null
|
# tag_id :integer not null
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# notification_level :integer not null
|
# notification_level :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -158,8 +158,8 @@ end
|
||||||
# name :string(30) not null
|
# name :string(30) not null
|
||||||
# value :text not null
|
# value :text not null
|
||||||
# value_baked :text
|
# value_baked :text
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# compiler_version :integer default(0), not null
|
# compiler_version :integer default(0), not null
|
||||||
# error :string
|
# error :string
|
||||||
# upload_id :integer
|
# upload_id :integer
|
||||||
|
|
|
@ -276,9 +276,11 @@ end
|
||||||
# title :string
|
# title :string
|
||||||
# crawled_at :datetime
|
# crawled_at :datetime
|
||||||
# quote :boolean default(FALSE), not null
|
# quote :boolean default(FALSE), not null
|
||||||
|
# extension :string(10)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
# index_topic_links_on_extension (extension)
|
||||||
# index_topic_links_on_link_post_id_and_reflection (link_post_id,reflection)
|
# index_topic_links_on_link_post_id_and_reflection (link_post_id,reflection)
|
||||||
# index_topic_links_on_post_id (post_id)
|
# index_topic_links_on_post_id (post_id)
|
||||||
# index_topic_links_on_topic_id (topic_id)
|
# index_topic_links_on_topic_id (topic_id)
|
||||||
|
|
|
@ -10,7 +10,7 @@ end
|
||||||
# raw_data :text
|
# raw_data :text
|
||||||
# locale :string not null
|
# locale :string not null
|
||||||
# search_data :tsvector
|
# search_data :tsvector
|
||||||
# core_version :integer default(0)
|
# version :integer default(0)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -10,8 +10,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# topic_id :integer not null
|
# topic_id :integer not null
|
||||||
# tag_id :integer not null
|
# tag_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -154,8 +154,8 @@ end
|
||||||
# based_on_last_post :boolean default(FALSE), not null
|
# based_on_last_post :boolean default(FALSE), not null
|
||||||
# deleted_at :datetime
|
# deleted_at :datetime
|
||||||
# deleted_by_id :integer
|
# deleted_by_id :integer
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# category_id :integer
|
# category_id :integer
|
||||||
# public_type :boolean default(TRUE)
|
# public_type :boolean default(TRUE)
|
||||||
#
|
#
|
||||||
|
|
|
@ -30,8 +30,8 @@ end
|
||||||
#
|
#
|
||||||
# key :string(64) not null, primary key
|
# key :string(64) not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# unsubscribe_key_type :string
|
# unsubscribe_key_type :string
|
||||||
# topic_id :integer
|
# topic_id :integer
|
||||||
# post_id :integer
|
# post_id :integer
|
||||||
|
|
|
@ -149,6 +149,7 @@ end
|
||||||
# sha1 :string(40)
|
# sha1 :string(40)
|
||||||
# origin :string(1000)
|
# origin :string(1000)
|
||||||
# retain_hours :integer
|
# retain_hours :integer
|
||||||
|
# extension :string(10)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -70,8 +70,8 @@ end
|
||||||
# key :string not null
|
# key :string not null
|
||||||
# application_name :string not null
|
# application_name :string not null
|
||||||
# push_url :string
|
# push_url :string
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# revoked_at :datetime
|
# revoked_at :datetime
|
||||||
# scopes :text default([]), not null, is an Array
|
# scopes :text default([]), not null, is an Array
|
||||||
#
|
#
|
||||||
|
|
|
@ -37,8 +37,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# topic_id :integer not null
|
# topic_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -183,8 +183,8 @@ end
|
||||||
# legacy :boolean default(FALSE), not null
|
# legacy :boolean default(FALSE), not null
|
||||||
# client_ip :inet
|
# client_ip :inet
|
||||||
# rotated_at :datetime not null
|
# rotated_at :datetime not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# seen_at :datetime
|
# seen_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
|
|
|
@ -37,8 +37,8 @@ end
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# email :string(513) not null
|
# email :string(513) not null
|
||||||
# primary :boolean default(FALSE), not null
|
# primary :boolean default(FALSE), not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -28,6 +28,6 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# file_name :string not null
|
# file_name :string not null
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
|
|
@ -18,8 +18,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string not null
|
||||||
# field_type :string not null
|
# field_type :string not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
# editable :boolean default(FALSE), not null
|
# editable :boolean default(FALSE), not null
|
||||||
# description :string not null
|
# description :string not null
|
||||||
# required :boolean default(TRUE), not null
|
# required :boolean default(TRUE), not null
|
||||||
|
|
|
@ -8,6 +8,6 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_field_id :integer not null
|
# user_field_id :integer not null
|
||||||
# value :string not null
|
# value :string not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
|
|
@ -10,6 +10,7 @@ end
|
||||||
# search_data :tsvector
|
# search_data :tsvector
|
||||||
# raw_data :text
|
# raw_data :text
|
||||||
# locale :text
|
# locale :text
|
||||||
|
# version :integer default(0)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -12,8 +12,8 @@ end
|
||||||
# topic_id :integer not null
|
# topic_id :integer not null
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# created_by_id :integer not null
|
# created_by_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -59,8 +59,8 @@ end
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# word :string not null
|
# word :string not null
|
||||||
# action :integer not null
|
# action :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -62,6 +62,6 @@ end
|
||||||
# wildcard_web_hook :boolean default(FALSE), not null
|
# wildcard_web_hook :boolean default(FALSE), not null
|
||||||
# verify_certificate :boolean default(TRUE), not null
|
# verify_certificate :boolean default(TRUE), not null
|
||||||
# active :boolean default(FALSE), not null
|
# active :boolean default(FALSE), not null
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
|
|
@ -30,8 +30,8 @@ end
|
||||||
# response_headers :string
|
# response_headers :string
|
||||||
# response_body :text
|
# response_body :text
|
||||||
# duration :integer default(0)
|
# duration :integer default(0)
|
||||||
# created_at :datetime
|
# created_at :datetime not null
|
||||||
# updated_at :datetime
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue