class LibraryTag < ApplicationRecord
  has_many :library_library_tags, dependent: :delete_all
  has_many :libraries, through: :library_library_tags

  validates :name, presence: true, uniqueness: true
end
