Remove tags table as well
This commit is contained in:
parent
eb85028eea
commit
bf970af2c5
@ -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
8
db/schema.rb
generated
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user