Open billzero opened 4 years ago
Why
We will create our model and constrain it at the DB level.
How
$ rails db:migrate
Company.create
Must have
Reading list
https://www.thehackingproject.org/dashboard/courses/1/weeks/6/days/2?locale=fr
https://github.com/heartcombo/devise
seed : https://www.thehackingproject.org/dashboard/courses/1/weeks/4/days/3?locale=fr
seed : https://edgeguides.rubyonrails.org/active_record_migrations.html#migrations-and-seed-data
Why
We will create our model and constrain it at the DB level.
How
$ rails db:migrate
Company.create
in the console locallyMust have
Reading list
https://www.thehackingproject.org/dashboard/courses/1/weeks/6/days/2?locale=fr
https://github.com/heartcombo/devise
https://github.com/heartcombo/devise
seed : https://www.thehackingproject.org/dashboard/courses/1/weeks/4/days/3?locale=fr
seed : https://edgeguides.rubyonrails.org/active_record_migrations.html#migrations-and-seed-data