Merge branch 'kb_migration' into kb_migration_development
This commit is contained in:
commit
45f192732f
12 changed files with 169 additions and 35 deletions
7
db/migrate/20230426013738_add_excludes_to_antennas.rb
Normal file
7
db/migrate/20230426013738_add_excludes_to_antennas.rb
Normal 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
|
|
@ -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"
|
||||
|
@ -302,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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue