# == Schema Information # # Table name: treatments # # 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) # FactoryBot.define do factory :treatment do sequence(:name) { |n| "Treatment#{n}" } trait :personal do global { false } end end end