@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord :: Schema . define ( version : 2017062315221 2 ) do
ActiveRecord :: Schema . define ( version : 2017062413474 2 ) do
# These are extensions that must be enabled in order to support this database
enable_extension " plpgsql "
@ -255,6 +255,8 @@ ActiveRecord::Schema.define(version: 20170623152212) do
t . string " session_id " , null : false
t . datetime " created_at " , null : false
t . datetime " updated_at " , null : false
t . string " user_agent " , default : " " , null : false
t . inet " ip "
t . index [ " session_id " ] , name : " index_session_activations_on_session_id " , unique : true
t . index [ " user_id " ] , name : " index_session_activations_on_user_id "
end
@ -404,6 +406,7 @@ ActiveRecord::Schema.define(version: 20170623152212) do
add_foreign_key " reports " , " accounts " , column : " action_taken_by_account_id " , on_delete : :nullify
add_foreign_key " reports " , " accounts " , column : " target_account_id " , on_delete : :cascade
add_foreign_key " reports " , " accounts " , on_delete : :cascade
add_foreign_key " session_activations " , " users " , on_delete : :cascade
add_foreign_key " statuses " , " accounts " , column : " in_reply_to_account_id " , on_delete : :nullify
add_foreign_key " statuses " , " accounts " , on_delete : :cascade
add_foreign_key " statuses " , " statuses " , column : " in_reply_to_id " , on_delete : :nullify