Ticket #825 (new enhancement)

Opened 4 years ago

Last modified 4 years ago

--edit flag to schemamigration/datamigration

Reported by: matt@… Owned by: andrew
Priority: minor Milestone: The Future
Component: commands Version: 0.7.3
Keywords: Cc:


I find that lots of the time I need to edit a migration file after it has been created.

I propose a patch to these two commands that allows for an '--edit' option, that will open the created file in '$EDITOR' after creating it.

I have a preliminary patch for schemamigration attached.


south.diff (1.9 KB) - added by matt@… 4 years ago.
Patch to allow for '--edit' flag on schemamigration command.

Change History

Changed 4 years ago by matt@…

Patch to allow for '--edit' flag on schemamigration command.

comment:1 Changed 4 years ago by andrew

  • Version changed from unknown to 0.7.3
  • Milestone set to The Future

Yep, I like this idea. The patch should probably deal with the case where there's no EDITOR env var, though - perhaps a nice error?

Note: See TracTickets for help on using tickets.