From b1e6e6957e62f3da3857f42ec6c343cb9660434d Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sun, 16 Aug 2020 23:18:38 -0500 Subject: [Federation] Include and dereference URI to the root post of threads; dynamically update thread permissions --- db/schema.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'db/schema.rb') diff --git a/db/schema.rb b/db/schema.rb index 7d3ec26d7..5d7bd5262 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2020_08_11_024642) do +ActiveRecord::Schema.define(version: 2020_08_17_003653) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -306,6 +306,7 @@ ActiveRecord::Schema.define(version: 2020_08_11_024642) do t.datetime "updated_at", null: false t.bigint "account_id" t.boolean "public", default: false, null: false + t.string "root" t.index ["account_id"], name: "index_conversations_on_account_id" t.index ["uri"], name: "index_conversations_on_uri", unique: true end @@ -818,7 +819,7 @@ ActiveRecord::Schema.define(version: 2020_08_11_024642) do end create_table "status_mutes", force: :cascade do |t| - t.integer "account_id", null: false + t.bigint "account_id", null: false t.bigint "status_id", null: false t.index ["account_id", "status_id"], name: "index_status_mutes_on_account_id_and_status_id", unique: true t.index ["account_id"], name: "index_status_mutes_on_account_id" -- cgit