Remove acts_as_taggable_on gem #82

Merged
bustikiller merged 4 commits from remove-acts-as-taggable into main 2024-11-02 08:54:23 +00:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit bf970af2c5 - Show all commits

View File

@ -25,5 +25,13 @@ class DropTaggableTables < ActiveRecord::Migration[7.2]
t.index %w[tagger_type tagger_id], name: 'index_taggings_on_tagger_type_and_tagger_id'
t.index ['tenant'], name: 'index_taggings_on_tenant'
end
drop_table "tags", force: :cascade do |t|
t.string "name"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "taggings_count", default: 0
t.index ["name"], name: "index_tags_on_name", unique: true
end
end
end

8
db/schema.rb generated
View File

@ -67,14 +67,6 @@ ActiveRecord::Schema[7.2].define(version: 2024_11_01_181052) do
t.datetime "updated_at", null: false
end
create_table "tags", force: :cascade do |t|
t.string "name"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "taggings_count", default: 0
t.index ["name"], name: "index_tags_on_name", unique: true
end
add_foreign_key "groups", "groups", column: "parent_id"
add_foreign_key "guests", "groups"
add_foreign_key "seats", "guests"