Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

dbmigrate

How can I tell what changes ‘rake db:migrate’ will apply before applying them?

December 23, 2023 by Tarik

Does rake db:migrate:status (rails 3+ only) fit the bill?

Categories ruby-on-rails Tags dbmigrate, rake, ruby-on-rails Leave a comment

How to rollback just one step using rake db:migrate

October 12, 2022 by Tarik

For starters rake db:rollback will get you back one step then rake db:rollback STEP=n Will roll you back n migrations where n is the number of recent migrations you want to rollback. More references here.

Categories ruby-on-rails Tags dbmigrate, rake, ruby-on-rails Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa