Newer
Older
dmpopidor / spec / factories / structured_data_schemas.rb
@Quentin SONREL Quentin SONREL on 20 Jan 2020 533 bytes Added structured schema/answers models and tables
# == Schema Information
#
# Table name: structured_data_schemas
#
#  id         :integer          not null, primary key
#  label      :string
#  name       :string
#  version    :integer
#  schema     :json
#  org_id     :integer
#  object     :string
#  created_at :datetime         not null
#  updated_at :datetime         not null
#

FactoryBot.define do
  factory :structured_data_schema do
    label { "MyString" }
    name { "MyString" }
    version { 1 }
    schema { "" }
    org_id { 1 }
    object { "MyString" }
  end
end