Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

List and delete migration from rails console

rails db:migrate:status
rails dbconsole
delete from schema_migrations where version='<version>';
 
PREVIOUS NEXT
Tagged: #List #delete #migration #rails #console
ADD COMMENT
Topic
Name
7+6 =