mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
fix seeds for trainings
This commit is contained in:
parent
0be80ac729
commit
793b8e145b
@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20160526102307) do
|
ActiveRecord::Schema.define(version: 20160613093842) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
10
db/seeds.rb
10
db/seeds.rb
@ -131,11 +131,11 @@ end
|
|||||||
|
|
||||||
if Training.count == 0
|
if Training.count == 0
|
||||||
Training.create!([
|
Training.create!([
|
||||||
{name: "Formation Imprimante 3D"},
|
{name: "Formation Imprimante 3D", description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},
|
||||||
{name: "Formation Laser / Vinyle"},
|
{name: "Formation Laser / Vinyle", description: "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."},
|
||||||
{name: "Formation Petite fraiseuse numerique"},
|
{name: "Formation Petite fraiseuse numerique", description: "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."},
|
||||||
{name: "Formation Shopbot Grande Fraiseuse"},
|
{name: "Formation Shopbot Grande Fraiseuse", description: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},
|
||||||
{name: "Formation logiciel 2D"}
|
{name: "Formation logiciel 2D", description: "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo."}
|
||||||
])
|
])
|
||||||
|
|
||||||
TrainingsPricing.all.each do |p|
|
TrainingsPricing.all.each do |p|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user