mirror of
https://github.com/czhu12/canine.git
synced 2025-12-21 10:49:49 -06:00
26 lines
552 B
Ruby
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
|