mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
update annotations
This commit is contained in:
parent
a5e58e7afa
commit
daeb7694bc
@ -236,7 +236,7 @@ end
|
|||||||
# Table name: badges
|
# Table name: badges
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string(255) not null
|
||||||
# description :text
|
# description :text
|
||||||
# badge_type_id :integer not null
|
# badge_type_id :integer not null
|
||||||
# grant_count :integer default(0), not null
|
# grant_count :integer default(0), not null
|
||||||
@ -244,7 +244,7 @@ end
|
|||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# allow_title :boolean default(FALSE), not null
|
# allow_title :boolean default(FALSE), not null
|
||||||
# multiple_grant :boolean default(FALSE), not null
|
# multiple_grant :boolean default(FALSE), not null
|
||||||
# icon :string default("fa-certificate")
|
# icon :string(255) default("fa-certificate")
|
||||||
# listable :boolean default(TRUE)
|
# listable :boolean default(TRUE)
|
||||||
# target_posts :boolean default(FALSE)
|
# target_posts :boolean default(FALSE)
|
||||||
# query :text
|
# query :text
|
||||||
@ -259,6 +259,5 @@ end
|
|||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
# index_badges_on_badge_type_id (badge_type_id)
|
|
||||||
# index_badges_on_name (name) UNIQUE
|
# index_badges_on_name (name) UNIQUE
|
||||||
#
|
#
|
||||||
|
@ -22,7 +22,7 @@ end
|
|||||||
# Table name: badge_groupings
|
# Table name: badge_groupings
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string(255) not null
|
||||||
# description :text
|
# description :text
|
||||||
# position :integer not null
|
# position :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
|
@ -12,7 +12,7 @@ end
|
|||||||
# Table name: badge_types
|
# Table name: badge_types
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string(255) not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
@ -521,7 +521,7 @@ end
|
|||||||
# topics_year :integer default(0)
|
# topics_year :integer default(0)
|
||||||
# topics_month :integer default(0)
|
# topics_month :integer default(0)
|
||||||
# topics_week :integer default(0)
|
# topics_week :integer default(0)
|
||||||
# slug :string not null
|
# slug :string(255) not null
|
||||||
# description :text
|
# description :text
|
||||||
# text_color :string(6) default("FFFFFF"), not null
|
# text_color :string(6) default("FFFFFF"), not null
|
||||||
# read_restricted :boolean default(FALSE), not null
|
# read_restricted :boolean default(FALSE), not null
|
||||||
@ -534,7 +534,7 @@ end
|
|||||||
# posts_year :integer default(0)
|
# posts_year :integer default(0)
|
||||||
# posts_month :integer default(0)
|
# posts_month :integer default(0)
|
||||||
# posts_week :integer default(0)
|
# posts_week :integer default(0)
|
||||||
# email_in :string
|
# email_in :string(255)
|
||||||
# email_in_allow_strangers :boolean default(FALSE)
|
# email_in_allow_strangers :boolean default(FALSE)
|
||||||
# topics_day :integer default(0)
|
# topics_day :integer default(0)
|
||||||
# posts_day :integer default(0)
|
# posts_day :integer default(0)
|
||||||
@ -560,6 +560,6 @@ end
|
|||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
# index_categories_on_email_in (email_in) UNIQUE
|
# index_categories_on_email_in (email_in) UNIQUE
|
||||||
# index_categories_on_topic_count (topic_count)
|
# index_categories_on_forum_thread_count (topic_count)
|
||||||
# unique_index_categories_on_name ((COALESCE(parent_category_id, '-1'::integer)), name) UNIQUE
|
# unique_index_categories_on_name ((COALESCE(parent_category_id, '-1'::integer)), name) UNIQUE
|
||||||
#
|
#
|
||||||
|
@ -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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
@ -187,7 +187,7 @@ 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(255) 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
|
||||||
|
@ -9,8 +9,8 @@ end
|
|||||||
# Table name: color_scheme_colors
|
# Table name: color_scheme_colors
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string(255) not null
|
||||||
# hex :string not null
|
# hex :string(255) not null
|
||||||
# color_scheme_id :integer not null
|
# color_scheme_id :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
@ -59,7 +59,7 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# draft_key :string not null
|
# draft_key :string(255) not null
|
||||||
# data :text not null
|
# data :text not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
@ -33,7 +33,7 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# draft_key :string not null
|
# draft_key :string(255) not null
|
||||||
# sequence :integer not null
|
# sequence :integer not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
|
@ -74,8 +74,8 @@ end
|
|||||||
# Table name: email_logs
|
# Table name: email_logs
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# to_address :string not null
|
# to_address :string(255) not null
|
||||||
# email_type :string not null
|
# email_type :string(255) not null
|
||||||
# user_id :integer
|
# user_id :integer
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
@ -83,7 +83,7 @@ end
|
|||||||
# post_id :integer
|
# post_id :integer
|
||||||
# topic_id :integer
|
# topic_id :integer
|
||||||
# skipped :boolean default(FALSE)
|
# skipped :boolean default(FALSE)
|
||||||
# skipped_reason :string
|
# skipped_reason :string(255)
|
||||||
# bounce_key :string
|
# bounce_key :string
|
||||||
# bounced :boolean default(FALSE), not null
|
# bounced :boolean default(FALSE), not null
|
||||||
# message_id :string
|
# message_id :string
|
||||||
|
@ -94,8 +94,8 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# email :string not null
|
# email :string(255) not null
|
||||||
# token :string not null
|
# token :string(255) not null
|
||||||
# confirmed :boolean default(FALSE), not null
|
# confirmed :boolean default(FALSE), not null
|
||||||
# expired :boolean default(FALSE), not null
|
# expired :boolean default(FALSE), not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
|
@ -55,10 +55,10 @@ end
|
|||||||
# Table name: embeddable_hosts
|
# Table name: embeddable_hosts
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# host :string not null
|
# host :string(255) not null
|
||||||
# category_id :integer not null
|
# category_id :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# path_whitelist :string
|
# path_whitelist :string
|
||||||
# class_name :string
|
# class_name :string
|
||||||
#
|
#
|
||||||
|
@ -9,13 +9,13 @@ end
|
|||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# facebook_user_id :integer not null
|
# facebook_user_id :integer not null
|
||||||
# username :string
|
# username :string(255)
|
||||||
# first_name :string
|
# first_name :string(255)
|
||||||
# last_name :string
|
# last_name :string(255)
|
||||||
# email :string
|
# email :string(255)
|
||||||
# gender :string
|
# gender :string(255)
|
||||||
# name :string
|
# name :string(255)
|
||||||
# link :string
|
# link :string(255)
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# avatar_url :string
|
# avatar_url :string
|
||||||
|
@ -8,7 +8,7 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# screen_name :string not null
|
# screen_name :string(255) not null
|
||||||
# github_user_id :integer not null
|
# github_user_id :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
@ -8,15 +8,15 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# google_user_id :string not null
|
# google_user_id :string(255) not null
|
||||||
# first_name :string
|
# first_name :string(255)
|
||||||
# last_name :string
|
# last_name :string(255)
|
||||||
# email :string
|
# email :string(255)
|
||||||
# gender :string
|
# gender :string(255)
|
||||||
# name :string
|
# name :string(255)
|
||||||
# link :string
|
# link :string(255)
|
||||||
# profile_link :string
|
# profile_link :string(255)
|
||||||
# picture :string
|
# picture :string(255)
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
@ -653,17 +653,15 @@ end
|
|||||||
# Table name: groups
|
# Table name: groups
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string(255) not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# automatic :boolean default(FALSE), not null
|
# automatic :boolean default(FALSE), not null
|
||||||
# user_count :integer default(0), not null
|
# user_count :integer default(0), not null
|
||||||
# mentionable_level :integer default(0)
|
|
||||||
# messageable_level :integer default(0)
|
|
||||||
# automatic_membership_email_domains :text
|
# automatic_membership_email_domains :text
|
||||||
# automatic_membership_retroactive :boolean default(FALSE)
|
# automatic_membership_retroactive :boolean default(FALSE)
|
||||||
# primary_group :boolean default(FALSE), not null
|
# primary_group :boolean default(FALSE), not null
|
||||||
# title :string
|
# title :string(255)
|
||||||
# grant_trust_level :integer
|
# grant_trust_level :integer
|
||||||
# incoming_email :string
|
# incoming_email :string
|
||||||
# has_messages :boolean default(FALSE), not null
|
# has_messages :boolean default(FALSE), not null
|
||||||
@ -679,6 +677,8 @@ end
|
|||||||
# public_exit :boolean default(FALSE), not null
|
# public_exit :boolean default(FALSE), not null
|
||||||
# public_admission :boolean default(FALSE), not null
|
# public_admission :boolean default(FALSE), not null
|
||||||
# membership_request_template :text
|
# membership_request_template :text
|
||||||
|
# messageable_level :integer default(0)
|
||||||
|
# mentionable_level :integer default(0)
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
@ -258,7 +258,7 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# invite_key :string(32) not null
|
# invite_key :string(32) not null
|
||||||
# email :string
|
# email :string(255)
|
||||||
# invited_by_id :integer not null
|
# invited_by_id :integer not null
|
||||||
# user_id :integer
|
# user_id :integer
|
||||||
# redeemed_at :datetime
|
# redeemed_at :datetime
|
||||||
|
@ -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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
@ -9,10 +9,10 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# uid :string not null
|
# uid :string(255) not null
|
||||||
# provider :string not null
|
# provider :string(255) not null
|
||||||
# email :string
|
# email :string(255)
|
||||||
# name :string
|
# name :string(255)
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
@ -310,7 +310,7 @@ end
|
|||||||
# width :integer not null
|
# width :integer not null
|
||||||
# height :integer not null
|
# height :integer not null
|
||||||
# upload_id :integer not null
|
# upload_id :integer not null
|
||||||
# url :string not null
|
# url :string(255) 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# external_url :string(1000)
|
# external_url :string(1000)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
|
@ -6,9 +6,9 @@ end
|
|||||||
# Table name: plugin_store_rows
|
# Table name: plugin_store_rows
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# plugin_name :string not null
|
# plugin_name :string(255) not null
|
||||||
# key :string not null
|
# key :string(255) not null
|
||||||
# type_name :string not null
|
# type_name :string(255) not null
|
||||||
# value :text
|
# value :text
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
|
@ -760,7 +760,7 @@ end
|
|||||||
# notify_user_count :integer default(0), not null
|
# notify_user_count :integer default(0), not null
|
||||||
# like_score :integer default(0), not null
|
# like_score :integer default(0), not null
|
||||||
# deleted_by_id :integer
|
# deleted_by_id :integer
|
||||||
# edit_reason :string
|
# edit_reason :string(255)
|
||||||
# word_count :integer
|
# word_count :integer
|
||||||
# version :integer default(1), not null
|
# version :integer default(1), not null
|
||||||
# cook_method :integer default(1), not null
|
# cook_method :integer default(1), not null
|
||||||
@ -773,10 +773,8 @@ end
|
|||||||
# via_email :boolean default(FALSE), not null
|
# via_email :boolean default(FALSE), not null
|
||||||
# raw_email :text
|
# raw_email :text
|
||||||
# public_version :integer default(1), not null
|
# public_version :integer default(1), not null
|
||||||
# action_code :string
|
# action_code :string(255)
|
||||||
# image_url :string
|
# image_url :string
|
||||||
# trolling_count :integer default(0), not null
|
|
||||||
# real_life_threat_count :integer default(0), not null
|
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
@ -11,8 +11,8 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# post_id :integer
|
# post_id :integer
|
||||||
# key :string
|
# key :string(255)
|
||||||
# value :string
|
# value :string(255)
|
||||||
# extra :text
|
# extra :text
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
@ -9,7 +9,7 @@ end
|
|||||||
# post_id :integer not null, primary key
|
# post_id :integer not null, primary key
|
||||||
# search_data :tsvector
|
# search_data :tsvector
|
||||||
# raw_data :text
|
# raw_data :text
|
||||||
# locale :string
|
# locale :string(255)
|
||||||
# version :integer default(0)
|
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
@ -115,7 +115,7 @@ end
|
|||||||
# Table name: queued_posts
|
# Table name: queued_posts
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# queue :string not null
|
# queue :string(255) not null
|
||||||
# state :integer not null
|
# state :integer not null
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# raw :text not null
|
# raw :text not null
|
||||||
@ -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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
|
@ -67,7 +67,7 @@ end
|
|||||||
# Table name: screened_emails
|
# Table name: screened_emails
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# email :string not null
|
# email :string(255) not null
|
||||||
# action_type :integer not null
|
# action_type :integer not null
|
||||||
# match_count :integer default(0), not null
|
# match_count :integer default(0), not null
|
||||||
# last_match_at :datetime
|
# last_match_at :datetime
|
||||||
@ -77,6 +77,6 @@ end
|
|||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
# index_screened_emails_on_email (email) UNIQUE
|
# index_blocked_emails_on_email (email) UNIQUE
|
||||||
# index_screened_emails_on_last_match_at (last_match_at)
|
# index_blocked_emails_on_last_match_at (last_match_at)
|
||||||
#
|
#
|
||||||
|
@ -42,8 +42,8 @@ end
|
|||||||
# Table name: screened_urls
|
# Table name: screened_urls
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# url :string not null
|
# url :string(255) not null
|
||||||
# domain :string not null
|
# domain :string(255) not null
|
||||||
# action_type :integer not null
|
# action_type :integer not null
|
||||||
# match_count :integer default(0), not null
|
# match_count :integer default(0), not null
|
||||||
# last_match_at :datetime
|
# last_match_at :datetime
|
||||||
|
@ -100,7 +100,8 @@ end
|
|||||||
# term :string not null
|
# term :string not null
|
||||||
# user_id :integer
|
# user_id :integer
|
||||||
# ip_address :inet not null
|
# ip_address :inet not null
|
||||||
# clicked_topic_id :integer
|
# search_result_id :integer
|
||||||
# search_type :integer not null
|
# search_type :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
|
# search_result_type :integer
|
||||||
#
|
#
|
||||||
|
@ -10,13 +10,13 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# external_id :string not null
|
# external_id :string(255) not null
|
||||||
# last_payload :text not null
|
# last_payload :text not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# external_username :string
|
# external_username :string(255)
|
||||||
# external_email :string
|
# external_email :string(255)
|
||||||
# external_name :string
|
# external_name :string(255)
|
||||||
# external_avatar_url :string(1000)
|
# external_avatar_url :string(1000)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
|
@ -157,7 +157,7 @@ end
|
|||||||
# Table name: site_settings
|
# Table name: site_settings
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string(255) not null
|
||||||
# data_type :integer not null
|
# data_type :integer not null
|
||||||
# value :text
|
# value :text
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
|
@ -43,11 +43,11 @@ end
|
|||||||
# Table name: stylesheet_cache
|
# Table name: stylesheet_cache
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# target :string not null
|
# target :string(255) not null
|
||||||
# digest :string not null
|
# digest :string(255) not null
|
||||||
# content :text not null
|
# content :text not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# theme_id :integer default(-1), not null
|
# theme_id :integer default(-1), not null
|
||||||
# source_map :text
|
# source_map :text
|
||||||
#
|
#
|
||||||
|
@ -73,8 +73,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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
@ -295,9 +295,9 @@ end
|
|||||||
# Table name: themes
|
# Table name: themes
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string(255) not null
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# key :string not null
|
# key :string(255) not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# compiler_version :integer default(0), not null
|
# compiler_version :integer default(0), not null
|
||||||
|
@ -160,8 +160,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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# compiler_version :integer default(0), not null
|
# compiler_version :integer default(0), not null
|
||||||
# error :string
|
# error :string
|
||||||
# upload_id :integer
|
# upload_id :integer
|
||||||
|
@ -1300,7 +1300,7 @@ end
|
|||||||
# Table name: topics
|
# Table name: topics
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# title :string not null
|
# title :string(255) not null
|
||||||
# last_posted_at :datetime
|
# last_posted_at :datetime
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
@ -1315,7 +1315,7 @@ end
|
|||||||
# avg_time :integer
|
# avg_time :integer
|
||||||
# deleted_at :datetime
|
# deleted_at :datetime
|
||||||
# highest_post_number :integer default(0), not null
|
# highest_post_number :integer default(0), not null
|
||||||
# image_url :string
|
# image_url :string(255)
|
||||||
# like_count :integer default(0), not null
|
# like_count :integer default(0), not null
|
||||||
# incoming_link_count :integer default(0), not null
|
# incoming_link_count :integer default(0), not null
|
||||||
# category_id :integer
|
# category_id :integer
|
||||||
@ -1326,15 +1326,15 @@ end
|
|||||||
# bumped_at :datetime not null
|
# bumped_at :datetime not null
|
||||||
# has_summary :boolean default(FALSE), not null
|
# has_summary :boolean default(FALSE), not null
|
||||||
# vote_count :integer default(0), not null
|
# vote_count :integer default(0), not null
|
||||||
# archetype :string default("regular"), not null
|
# archetype :string(255) default("regular"), not null
|
||||||
# featured_user4_id :integer
|
# featured_user4_id :integer
|
||||||
# notify_moderators_count :integer default(0), not null
|
# notify_moderators_count :integer default(0), not null
|
||||||
# spam_count :integer default(0), not null
|
# spam_count :integer default(0), not null
|
||||||
# pinned_at :datetime
|
# pinned_at :datetime
|
||||||
# score :float
|
# score :float
|
||||||
# percent_rank :float default(1.0), not null
|
# percent_rank :float default(1.0), not null
|
||||||
# subtype :string
|
# subtype :string(255)
|
||||||
# slug :string
|
# slug :string(255)
|
||||||
# deleted_by_id :integer
|
# deleted_by_id :integer
|
||||||
# participant_count :integer default(1)
|
# participant_count :integer default(1)
|
||||||
# word_count :integer
|
# word_count :integer
|
||||||
@ -1350,7 +1350,7 @@ end
|
|||||||
# idx_topics_front_page (deleted_at,visible,archetype,category_id,id)
|
# idx_topics_front_page (deleted_at,visible,archetype,category_id,id)
|
||||||
# idx_topics_user_id_deleted_at (user_id)
|
# idx_topics_user_id_deleted_at (user_id)
|
||||||
# idxtopicslug (slug)
|
# idxtopicslug (slug)
|
||||||
# index_topics_on_bumped_at (bumped_at)
|
# index_forum_threads_on_bumped_at (bumped_at)
|
||||||
# index_topics_on_created_at_and_visible (created_at,visible)
|
# index_topics_on_created_at_and_visible (created_at,visible)
|
||||||
# index_topics_on_id_and_deleted_at (id,deleted_at)
|
# index_topics_on_id_and_deleted_at (id,deleted_at)
|
||||||
# index_topics_on_lower_title (lower((title)::text))
|
# index_topics_on_lower_title (lower((title)::text))
|
||||||
|
@ -285,16 +285,16 @@ end
|
|||||||
# reflection :boolean default(FALSE)
|
# reflection :boolean default(FALSE)
|
||||||
# clicks :integer default(0), not null
|
# clicks :integer default(0), not null
|
||||||
# link_post_id :integer
|
# link_post_id :integer
|
||||||
# title :string
|
# title :string(255)
|
||||||
# crawled_at :datetime
|
# crawled_at :datetime
|
||||||
# quote :boolean default(FALSE), not null
|
# quote :boolean default(FALSE), not null
|
||||||
# extension :string(10)
|
# extension :string(10)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
# index_forum_thread_links_on_forum_thread_id (topic_id)
|
||||||
|
# index_forum_thread_links_on_forum_thread_id_and_post_id_and_url (topic_id,post_id,url) UNIQUE
|
||||||
# index_topic_links_on_extension (extension)
|
# 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)
|
|
||||||
# unique_post_links (topic_id,post_id,url) UNIQUE
|
|
||||||
#
|
#
|
||||||
|
@ -112,5 +112,5 @@ end
|
|||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
# by_link (topic_link_id)
|
# index_forum_thread_link_clicks_on_forum_thread_link_id (topic_link_id)
|
||||||
#
|
#
|
||||||
|
@ -8,7 +8,7 @@ end
|
|||||||
#
|
#
|
||||||
# topic_id :integer not null, primary key
|
# topic_id :integer not null, primary key
|
||||||
# raw_data :text
|
# raw_data :text
|
||||||
# locale :string not null
|
# locale :string(255) not null
|
||||||
# search_data :tsvector
|
# search_data :tsvector
|
||||||
# version :integer default(0)
|
# version :integer default(0)
|
||||||
#
|
#
|
||||||
|
@ -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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
@ -157,8 +157,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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# category_id :integer
|
# category_id :integer
|
||||||
# public_type :boolean default(TRUE)
|
# public_type :boolean default(TRUE)
|
||||||
#
|
#
|
||||||
|
@ -474,6 +474,6 @@ end
|
|||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
# index_topic_users_on_topic_id_and_user_id (topic_id,user_id) UNIQUE
|
# index_forum_thread_users_on_forum_thread_id_and_user_id (topic_id,user_id) UNIQUE
|
||||||
# index_topic_users_on_user_id_and_topic_id (user_id,topic_id) UNIQUE
|
# index_topic_users_on_user_id_and_topic_id (user_id,topic_id) UNIQUE
|
||||||
#
|
#
|
||||||
|
@ -8,7 +8,7 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# screen_name :string not null
|
# screen_name :string(255) not null
|
||||||
# twitter_user_id :integer not null
|
# twitter_user_id :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
@ -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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# unsubscribe_key_type :string
|
# unsubscribe_key_type :string
|
||||||
# topic_id :integer
|
# topic_id :integer
|
||||||
# post_id :integer
|
# post_id :integer
|
||||||
|
@ -156,11 +156,11 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# original_filename :string not null
|
# original_filename :string(255) not null
|
||||||
# filesize :integer not null
|
# filesize :integer not null
|
||||||
# width :integer
|
# width :integer
|
||||||
# height :integer
|
# height :integer
|
||||||
# url :string not null
|
# url :string(255) not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# sha1 :string(40)
|
# sha1 :string(40)
|
||||||
|
@ -1145,7 +1145,7 @@ end
|
|||||||
# username :string(60) not null
|
# username :string(60) not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# name :string
|
# name :string(255)
|
||||||
# seen_notification_id :integer default(0), not null
|
# seen_notification_id :integer default(0), not null
|
||||||
# last_posted_at :datetime
|
# last_posted_at :datetime
|
||||||
# password_hash :string(64)
|
# password_hash :string(64)
|
||||||
@ -1167,15 +1167,13 @@ end
|
|||||||
# flag_level :integer default(0), not null
|
# flag_level :integer default(0), not null
|
||||||
# ip_address :inet
|
# ip_address :inet
|
||||||
# moderator :boolean default(FALSE)
|
# moderator :boolean default(FALSE)
|
||||||
# title :string
|
# title :string(255)
|
||||||
# uploaded_avatar_id :integer
|
# uploaded_avatar_id :integer
|
||||||
# locale :string(10)
|
|
||||||
# primary_group_id :integer
|
# primary_group_id :integer
|
||||||
|
# locale :string(10)
|
||||||
# registration_ip_address :inet
|
# registration_ip_address :inet
|
||||||
# trust_level_locked :boolean default(FALSE), not null
|
|
||||||
# staged :boolean default(FALSE), not null
|
# staged :boolean default(FALSE), not null
|
||||||
# first_seen_at :datetime
|
# first_seen_at :datetime
|
||||||
# blizzard_avatar :string
|
|
||||||
# silenced_till :datetime
|
# silenced_till :datetime
|
||||||
# group_locked_trust_level :integer
|
# group_locked_trust_level :integer
|
||||||
# manual_locked_trust_level :integer
|
# manual_locked_trust_level :integer
|
||||||
|
@ -414,7 +414,7 @@ end
|
|||||||
#
|
#
|
||||||
# idx_unique_rows (action_type,user_id,target_topic_id,target_post_id,acting_user_id) UNIQUE
|
# idx_unique_rows (action_type,user_id,target_topic_id,target_post_id,acting_user_id) UNIQUE
|
||||||
# idx_user_actions_speed_up_user_all (user_id,created_at,action_type)
|
# idx_user_actions_speed_up_user_all (user_id,created_at,action_type)
|
||||||
# index_user_actions_on_acting_user_id (acting_user_id)
|
# index_actions_on_acting_user_id (acting_user_id)
|
||||||
|
# index_actions_on_user_id_and_action_type (user_id,action_type)
|
||||||
# index_user_actions_on_target_post_id (target_post_id)
|
# index_user_actions_on_target_post_id (target_post_id)
|
||||||
# index_user_actions_on_user_id_and_action_type (user_id,action_type)
|
|
||||||
#
|
#
|
||||||
|
@ -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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# seen_at :datetime
|
# seen_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
|
@ -49,5 +49,4 @@ end
|
|||||||
# index_user_badges_on_badge_id_and_user_id (badge_id,user_id)
|
# index_user_badges_on_badge_id_and_user_id (badge_id,user_id)
|
||||||
# index_user_badges_on_badge_id_and_user_id_and_post_id (badge_id,user_id,post_id) UNIQUE
|
# index_user_badges_on_badge_id_and_user_id_and_post_id (badge_id,user_id,post_id) UNIQUE
|
||||||
# index_user_badges_on_badge_id_and_user_id_and_seq (badge_id,user_id,seq) UNIQUE
|
# index_user_badges_on_badge_id_and_user_id_and_seq (badge_id,user_id,seq) UNIQUE
|
||||||
# index_user_badges_on_user_id (user_id)
|
|
||||||
#
|
#
|
||||||
|
@ -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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
@ -26,8 +26,8 @@ end
|
|||||||
# Table name: user_exports
|
# Table name: user_exports
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# file_name :string not null
|
# file_name :string(255) not null
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
|
@ -16,12 +16,12 @@ end
|
|||||||
# Table name: user_fields
|
# Table name: user_fields
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string not null
|
# name :string(255) not null
|
||||||
# field_type :string not null
|
# field_type :string(255) not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# editable :boolean default(FALSE), not null
|
# editable :boolean default(FALSE), not null
|
||||||
# description :string not null
|
# description :string(255) not null
|
||||||
# required :boolean default(TRUE), not null
|
# required :boolean default(TRUE), not null
|
||||||
# show_on_profile :boolean default(FALSE), not null
|
# show_on_profile :boolean default(FALSE), not null
|
||||||
# position :integer default(0)
|
# position :integer default(0)
|
||||||
|
@ -7,7 +7,7 @@ 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(255) not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
|
@ -176,23 +176,23 @@ end
|
|||||||
# details :text
|
# details :text
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# context :string
|
# context :string(255)
|
||||||
# ip_address :string
|
# ip_address :string(255)
|
||||||
# email :string
|
# email :string(255)
|
||||||
# subject :text
|
# subject :text
|
||||||
# previous_value :text
|
# previous_value :text
|
||||||
# new_value :text
|
# new_value :text
|
||||||
# topic_id :integer
|
# topic_id :integer
|
||||||
# admin_only :boolean default(FALSE)
|
# admin_only :boolean default(FALSE)
|
||||||
# post_id :integer
|
# post_id :integer
|
||||||
# custom_type :string
|
# custom_type :string(255)
|
||||||
# category_id :integer
|
# category_id :integer
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
# index_staff_action_logs_on_action_and_id (action,id)
|
||||||
|
# index_staff_action_logs_on_subject_and_id (subject,id)
|
||||||
|
# index_staff_action_logs_on_target_user_id_and_id (target_user_id,id)
|
||||||
# index_user_histories_on_acting_user_id_and_action_and_id (acting_user_id,action,id)
|
# index_user_histories_on_acting_user_id_and_action_and_id (acting_user_id,action,id)
|
||||||
# index_user_histories_on_action_and_id (action,id)
|
|
||||||
# index_user_histories_on_category_id (category_id)
|
# index_user_histories_on_category_id (category_id)
|
||||||
# index_user_histories_on_subject_and_id (subject,id)
|
|
||||||
# index_user_histories_on_target_user_id_and_id (target_user_id,id)
|
|
||||||
#
|
#
|
||||||
|
@ -11,8 +11,8 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# email :string not null
|
# email :string(255) not null
|
||||||
# url :string not null
|
# url :string(255) not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# active :boolean not null
|
# active :boolean not null
|
||||||
|
@ -122,12 +122,12 @@ end
|
|||||||
# Table name: user_profiles
|
# Table name: user_profiles
|
||||||
#
|
#
|
||||||
# user_id :integer not null, primary key
|
# user_id :integer not null, primary key
|
||||||
# location :string
|
# location :string(255)
|
||||||
# website :string
|
# website :string(255)
|
||||||
# bio_raw :text
|
# bio_raw :text
|
||||||
# bio_cooked :text
|
# bio_cooked :text
|
||||||
# profile_background :string(255)
|
|
||||||
# dismissed_banner_key :integer
|
# dismissed_banner_key :integer
|
||||||
|
# profile_background :string(255)
|
||||||
# bio_cooked_version :integer
|
# bio_cooked_version :integer
|
||||||
# badge_granted_title :boolean default(FALSE)
|
# badge_granted_title :boolean default(FALSE)
|
||||||
# card_background :string(255)
|
# card_background :string(255)
|
||||||
|
@ -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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# 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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
|
@ -36,8 +36,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 not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user