# == Schema Information
#
# Table name: project_languages
#
#  id             :integer          not null, primary key
#  name           :string(255)
#  position       :integer
#  projects_count :integer          default("0")
#  created_at     :datetime         not null
#  updated_at     :datetime         not null
#
# Indexes
#
#  index_project_languages_on_id  (id)
#

class ProjectLanguage < ApplicationRecord
  include Projectable

  validates :name, uniqueness: { message: "已存在" }
end
