diff --git a/db/migrate/20190712233435_add_activitypub_type_to_statuses.rb b/db/migrate/20190712233435_add_activitypub_type_to_statuses.rb new file mode 100644 index 000000000..8929ae061 --- /dev/null +++ b/db/migrate/20190712233435_add_activitypub_type_to_statuses.rb @@ -0,0 +1,5 @@ +class AddActivityPubTypeToStatuses < ActiveRecord::Migration[5.2] + def change + add_column :statuses, :activity_pub_type, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index f5a044811..02d729c18 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: 2019_05_29_143559) do +ActiveRecord::Schema.define(version: 2019_07_12_233435) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -626,6 +626,7 @@ ActiveRecord::Schema.define(version: 2019_05_29_143559) do t.bigint "in_reply_to_account_id" t.bigint "poll_id" t.boolean "local_only" + t.string "activity_pub_type" t.index ["account_id", "id", "visibility", "updated_at"], name: "index_statuses_20180106", order: { id: :desc } t.index ["in_reply_to_account_id"], name: "index_statuses_on_in_reply_to_account_id" t.index ["in_reply_to_id"], name: "index_statuses_on_in_reply_to_id"