jasondcamp / pyway

A Flyway like migration manager written in python.
GNU General Public License v3.0
23 stars 12 forks source link

Question about import #39

Open logicbomb opened 10 months ago

logicbomb commented 10 months ago

Is import meant to replace baseline or is baseline on the roadmap?

jasondcamp commented 10 months ago

I'm not sure what you mean, could you provide more details?

jasondcamp commented 10 months ago

Oh I see, you're referring to the way flyway does them - https://documentation.red-gate.com/flyway/flyway-cli-and-api/commands/baseline

I can create a ticket and add this feature, it seems like it would be quite nice.

jasondcamp commented 10 months ago

Oh and to be clear, there's really no defined roadmap right now, so any features you'd like to suggest, I'd love to hear them! Thanks!

logicbomb commented 10 months ago

I meant roadmap in the loosest possible interpretation 😉

Yeah, that is what I'm referring to. I don't mind biting it off, but it may take me a bit, also, would you accept a PR that adds type hints throughout? I'd probably want to do that first.

2 more things I'd love to see in this project

  1. code based migrations - about 1/2 way down the page
  2. packaged as a library with an API, so migrations can be programmed into unit tests and service start-up routines.
jasondcamp commented 10 months ago

Love all of these ideas, I will think about them and get some tickets created around them. I'm all for adding type hints, I have no prob taking that on.

jasondcamp commented 8 months ago

Type hints are added!

logicbomb commented 7 months ago

nice job w/type hints!

right now both the baseline & code based migrations are preventing me from adopting this into a codebase I'd love to use it with, would you be open to an MR for either? do you have a preference which one to start with?