21 lines
495 B
Ruby
21 lines
495 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)
|
|
#
|
|
|
|
FactoryBot.define do
|
|
factory :condition do
|
|
sequence(:name) { |n| "Condition#{n}" }
|
|
|
|
trait :personal do
|
|
global { false }
|
|
end
|
|
end
|
|
end
|