Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspired by Sqitch – store execution plan in a file #61

Open
JanTvrdik opened this issue Jan 18, 2017 · 1 comment
Open

Inspired by Sqitch – store execution plan in a file #61

JanTvrdik opened this issue Jan 18, 2017 · 1 comment

Comments

@JanTvrdik
Copy link
Member

JanTvrdik commented Jan 18, 2017

This will ensure that merging branches will results in Git conflict when in both branches new migrations is added.

Partially related to discussion in #29

@Mikulas Mikulas self-assigned this Apr 22, 2017
@Mikulas
Copy link
Contributor

Mikulas commented Apr 22, 2017

spec:

  • na disku bude soubor ve formátu TSV a bude obsahovat (ord, group, name, hash)
    • mj musí obsahovat číslo pořadí, aby se při merge/rebase stal plán neplatným
  • v konfigu bude cesta k tomu plánu
  • mig:create bude vytvářet a aktualizovat plán
  • mig:continue bude validovat plán

steps:

  • najít soubor s plánem z konfigu (ve kterém jsou data pro Engine\Finder)
  • jak souvisí OrderResolver a nový Engine\Planner: Resolver se asi použije pro vybudování a validaci plánu
  • Engine\Runner $toExecute se vystaví z plánu místo order resolver

@Mikulas Mikulas removed their assignment Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants