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