Difference between revisions of "Rails"

From Wasya Wiki
Jump to: navigation, search
(Created page with " = Re-create schema.rb = From: https://stackoverflow.com/questions/9731585/lost-my-schema-rb-can-it-be-regenerated <pre> rake db:drop # ERASES THE DATABASE !!!! rake db:crea...")
 
(No difference)

Latest revision as of 20:52, 19 November 2022

Re-create schema.rb

From: https://stackoverflow.com/questions/9731585/lost-my-schema-rb-can-it-be-regenerated

rake db:drop  # ERASES THE DATABASE !!!! 
rake db:create
rake db:migrate