Files
canine/spec/factories/cron_schedules.rb
2025-02-13 16:35:21 -08:00

23 lines
447 B
Ruby

# == Schema Information
#
# Table name: cron_schedules
#
# id :bigint not null, primary key
# schedule :string not null
# service_id :bigint not null
#
# Indexes
#
# index_cron_schedules_on_service_id (service_id)
#
# Foreign Keys
#
# fk_rails_... (service_id => services.id)
#
FactoryBot.define do
factory :cron_schedule do
service
schedule { "0 * * * *" } # Example: every hour
end
end