Ticket #685 (infoneeded enhancement)

Opened 4 years ago

Last modified 4 years ago

add a flag to run only schema migrations

Reported by: jd Owned by: andrew
Priority: minor Milestone: 1.0
Component: commands Version: 0.7.2
Keywords: Cc:

Description

The use case would be apparent if you are writing code in both production and development environments. In the dev environment, you would only want to run schema migrations, whereas in production you would want to run both schema and data migrations.

Change History

comment:1 Changed 4 years ago by andrew

  • Status changed from new to infoneeded
  • Milestone changed from 0.7.3 to 1.0

I'm not sure the use case you present is particularly compelling; why would you not want data migrations in development? You need to run them against test data anyway to ensure they work, and in addition, it saves time if you don't have to redo the database from scratch each time.

Note: See TracTickets for help on using tickets.