create_table "states" do |t|
t.string "name"
end
create_table "scfs", do |t|
t.string "name"
t.string "zip"
t.integer "state_id"
end
create_table "versions", do |t|
t.string "name"
t.integer "quantity"
t.integer "seeds_sent"
t.integer "seeds_scaned"
t.integer "job_id"
t.column "seeds", :json
end
seeds = {
seed_1: {
identificator: '00321312312343',
scf_id: 4,
zip: '5507'
},
seed_2: {
identificator: '00232635646245',
scf_id: 22,
zip: '6019'
},
.
.
.
}
seeds = {
scf_4: [
{
id: 1,
identificator: '00321312312343',
zip: '5507'
},
.
.
.
],
scf_22: [
{
id: 2,
identificator: '00232635646245',
zip: '6019'
},
.
.
.
]
}
create_table "versions", do |t|
t.string "name"
t.integer "quantity"
t.integer "seeds_sent"
t.integer "seeds_scaned"
t.integer "job_id"
end
create_table "seeds", do |t|
t.string "identificator"
t.string "zip"
t.integer "version_id"
t.integer "scf_id"
end