Files
project-work/worker-toolkit-flaredown/repo/backend/app/models/condition.rb

20 lines
508 B
Ruby

# == Schema Information
#
# Table name: conditions
#
# id :integer not null, primary key
# global :boolean default(TRUE)
# created_at :datetime not null
# updated_at :datetime not null
# trackable_usages_count :integer default(0)
#
class Condition < ActiveRecord::Base
has_many :condition_translations, class_name: "Condition::Translation"
#
# Localized attributes
#
translates :name
end