17 lines
318 B
Ruby
17 lines
318 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: barcodes
|
|
#
|
|
# id :integer not null, primary key
|
|
# product_id :integer
|
|
# code :string default(""), not null
|
|
# created_at :datetime
|
|
# updated_at :datetime
|
|
#
|
|
|
|
FactoryGirl.define do
|
|
factory :barcode do
|
|
product
|
|
sequence :code
|
|
end
|
|
end
|