Merge tag 'v1.0.5+3.2.0' into hometown-v1.0.5+3.3.0

This commit is contained in:
Darius Kazemi
2021-04-22 16:37:11 -07:00
126 changed files with 2708 additions and 366 deletions

View File

@ -0,0 +1,5 @@
class AddActivityPubTypeToStatuses < ActiveRecord::Migration[5.2]
def change
add_column :statuses, :activity_pub_type, :string
end
end

View File

@ -0,0 +1,6 @@
class AddIsExclusiveToLists < ActiveRecord::Migration[5.2]
def change
add_column :lists, :is_exclusive, :boolean
change_column_default :lists, :is_exclusive, false
end
end

View File

@ -490,6 +490,7 @@ ActiveRecord::Schema.define(version: 2020_12_18_054746) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "replies_policy", default: 0, null: false
t.boolean "is_exclusive", default: false
t.index ["account_id"], name: "index_lists_on_account_id"
end
@ -806,6 +807,7 @@ ActiveRecord::Schema.define(version: 2020_12_18_054746) do
t.bigint "poll_id"
t.datetime "deleted_at"
t.boolean "local_only"
t.string "activity_pub_type"
t.index ["account_id", "id", "visibility", "updated_at"], name: "index_statuses_20190820", order: { id: :desc }, where: "(deleted_at IS NULL)"
t.index ["id", "account_id"], name: "index_statuses_local_20190824", order: { id: :desc }, where: "((local OR (uri IS NULL)) AND (deleted_at IS NULL) AND (visibility = 0) AND (reblog_of_id IS NULL) AND ((NOT reply) OR (in_reply_to_account_id = account_id)))"
t.index ["id", "account_id"], name: "index_statuses_public_20200119", order: { id: :desc }, where: "((deleted_at IS NULL) AND (visibility = 0) AND (reblog_of_id IS NULL) AND ((NOT reply) OR (in_reply_to_account_id = account_id)))"