Files
canine/spec/factories/deployments.rb
2025-11-14 14:16:50 -08:00

26 lines
552 B
Ruby

# == Schema Information
#
# Table name: deployments
#
# id :bigint not null, primary key
# manifests :jsonb
# status :integer default("in_progress"), not null
# created_at :datetime not null
# updated_at :datetime not null
# build_id :bigint not null
#
# Indexes
#
# index_deployments_on_build_id (build_id) UNIQUE
#
# Foreign Keys
#
# fk_rails_... (build_id => builds.id)
#
FactoryBot.define do
factory :deployment do
status { :in_progress }
association :build
end
end