@ -10,7 +10,7 @@
#
#
# It's strongly recommended that you check this file into your version control system.
# It's strongly recommended that you check this file into your version control system.
ActiveRecord :: Schema . define ( version : 20170414 080609 ) do
ActiveRecord :: Schema . define ( version : 20170414 132105 ) do
# These are extensions that must be enabled in order to support this database
# These are extensions that must be enabled in order to support this database
enable_extension " plpgsql "
enable_extension " plpgsql "
@ -40,7 +40,6 @@ ActiveRecord::Schema.define(version: 20170414080609) do
t . datetime " header_updated_at "
t . datetime " header_updated_at "
t . string " avatar_remote_url "
t . string " avatar_remote_url "
t . datetime " subscription_expires_at "
t . datetime " subscription_expires_at "
t . datetime " last_webfingered_at "
t . boolean " silenced " , default : false , null : false
t . boolean " silenced " , default : false , null : false
t . boolean " suspended " , default : false , null : false
t . boolean " suspended " , default : false , null : false
t . boolean " locked " , default : false , null : false
t . boolean " locked " , default : false , null : false
@ -48,6 +47,7 @@ ActiveRecord::Schema.define(version: 20170414080609) do
t . integer " statuses_count " , default : 0 , null : false
t . integer " statuses_count " , default : 0 , null : false
t . integer " followers_count " , default : 0 , null : false
t . integer " followers_count " , default : 0 , null : false
t . integer " following_count " , default : 0 , null : false
t . integer " following_count " , default : 0 , null : false
t . datetime " last_webfingered_at "
t . index " (((setweight(to_tsvector('simple'::regconfig, (display_name)::text), 'A':: \" char \" ) || setweight(to_tsvector('simple'::regconfig, (username)::text), 'B':: \" char \" )) || setweight(to_tsvector('simple'::regconfig, (COALESCE(domain, ''::character varying))::text), 'C':: \" char \" ))) " , name : " search_index " , using : :gin
t . index " (((setweight(to_tsvector('simple'::regconfig, (display_name)::text), 'A':: \" char \" ) || setweight(to_tsvector('simple'::regconfig, (username)::text), 'B':: \" char \" )) || setweight(to_tsvector('simple'::regconfig, (COALESCE(domain, ''::character varying))::text), 'C':: \" char \" ))) " , name : " search_index " , using : :gin
t . index " lower((username)::text), lower((domain)::text) " , name : " index_accounts_on_username_and_domain_lower " , using : :btree
t . index " lower((username)::text), lower((domain)::text) " , name : " index_accounts_on_username_and_domain_lower " , using : :btree
t . index [ " url " ] , name : " index_accounts_on_url " , using : :btree
t . index [ " url " ] , name : " index_accounts_on_url " , using : :btree
@ -244,6 +244,7 @@ ActiveRecord::Schema.define(version: 20170414080609) do
t . boolean " reply " , default : false
t . boolean " reply " , default : false
t . integer " favourites_count " , default : 0 , null : false
t . integer " favourites_count " , default : 0 , null : false
t . integer " reblogs_count " , default : 0 , null : false
t . integer " reblogs_count " , default : 0 , null : false
t . string " language " , default : " en " , null : false
t . index [ " account_id " ] , name : " index_statuses_on_account_id " , using : :btree
t . index [ " account_id " ] , name : " index_statuses_on_account_id " , using : :btree
t . index [ " in_reply_to_id " ] , name : " index_statuses_on_in_reply_to_id " , using : :btree
t . index [ " in_reply_to_id " ] , name : " index_statuses_on_in_reply_to_id " , using : :btree
t . index [ " reblog_of_id " ] , name : " index_statuses_on_reblog_of_id " , using : :btree
t . index [ " reblog_of_id " ] , name : " index_statuses_on_reblog_of_id " , using : :btree