Merge branch 'kb_development' into kb_migration

This commit is contained in:
KMY 2023-04-26 11:38:30 +09:00
commit ce5a9f2500
9 changed files with 50 additions and 27 deletions

View file

@ -0,0 +1,7 @@
class AddExcludesToAntennas < ActiveRecord::Migration[6.1]
def change
add_column :antennas, :exclude_domains, :jsonb
add_column :antennas, :exclude_accounts, :jsonb
add_column :antennas, :exclude_tags, :jsonb
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2023_04_23_233429) do
ActiveRecord::Schema.define(version: 2023_04_26_013738) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -117,6 +117,8 @@ ActiveRecord::Schema.define(version: 2023_04_23_233429) do
t.integer "min_reblogs"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.integer "min_emojis"
t.boolean "keep_self_emoji", default: true, null: false
t.index ["account_id"], name: "index_account_statuses_cleanup_policies_on_account_id"
end
@ -300,6 +302,9 @@ ActiveRecord::Schema.define(version: 2023_04_23_233429) do
t.datetime "updated_at", null: false
t.datetime "expires_at"
t.boolean "with_media_only", default: false, null: false
t.jsonb "exclude_domains"
t.jsonb "exclude_accounts"
t.jsonb "exclude_tags"
t.index ["account_id"], name: "index_antennas_on_account_id"
t.index ["any_accounts"], name: "index_antennas_on_any_accounts"
t.index ["any_domains"], name: "index_antennas_on_any_domains"