interagent / pliny

An opinionated toolkit for writing excellent APIs in Ruby.
MIT License
801 stars 73 forks source link

Add rake db:migrate:status #345

Closed treznick closed 2 years ago

treznick commented 2 years ago

This PR adds rake db:migrate:status

which outputs a table:

          +--------------+--------------------------------+
          |    STATUS    |           MIGRATION            |
          +--------------+--------------------------------+
          |      UP      | 001630551344_latest_change.rb  |
          |     DOWN     | 01630551344_latest_change.rb   |
          | FILE MISSING | 0001630551344_latest_change.rb |
          +--------------+--------------------------------+