@ -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 : 2017100614202 4 ) do
ActiveRecord :: Schema . define ( version : 2017101002561 4 ) 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 "
@ -25,8 +25,8 @@ ActiveRecord::Schema.define(version: 20171006142024) do
create_table " account_moderation_notes " , force : :cascade do | t |
create_table " account_moderation_notes " , force : :cascade do | t |
t . text " content " , null : false
t . text " content " , null : false
t . bigint " account_id "
t . bigint " target_account_id "
t . bigint " account_id " , null : false
t . bigint " target_account_id " , null : false
t . datetime " created_at " , null : false
t . datetime " created_at " , null : false
t . datetime " updated_at " , null : false
t . datetime " updated_at " , null : false
t . index [ " account_id " ] , name : " index_account_moderation_notes_on_account_id "
t . index [ " account_id " ] , name : " index_account_moderation_notes_on_account_id "
@ -459,6 +459,7 @@ ActiveRecord::Schema.define(version: 20171006142024) do
end
end
add_foreign_key " account_domain_blocks " , " accounts " , name : " fk_206c6029bd " , on_delete : :cascade
add_foreign_key " account_domain_blocks " , " accounts " , name : " fk_206c6029bd " , on_delete : :cascade
add_foreign_key " account_moderation_notes " , " accounts "
add_foreign_key " account_moderation_notes " , " accounts " , column : " target_account_id "
add_foreign_key " account_moderation_notes " , " accounts " , column : " target_account_id "
add_foreign_key " blocks " , " accounts " , column : " target_account_id " , name : " fk_9571bfabc1 " , on_delete : :cascade
add_foreign_key " blocks " , " accounts " , column : " target_account_id " , name : " fk_9571bfabc1 " , on_delete : :cascade
add_foreign_key " blocks " , " accounts " , name : " fk_4269e03e65 " , on_delete : :cascade
add_foreign_key " blocks " , " accounts " , name : " fk_4269e03e65 " , on_delete : :cascade