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

Use sequential ids for files to enforce order #19

Merged
merged 7 commits into from
Apr 16, 2021
Merged

Conversation

kevlarr
Copy link
Collaborator

@kevlarr kevlarr commented Apr 14, 2021

For #17

  • Use new revision name format {id}.{timestamp}.{name}.sql
  • Record ids in database w/o sequence
  • Enforce version cannot be used on previous projects with {timestamp}.{name}.sql format
  • Enforce unapplied revisions cannot be interleaved
  • Enforce unique ids prior to applying
  • Describe in README
  • tests
  • fmt

@kevlarr kevlarr changed the title Use sequential ids for files to enforce order WIP Use sequential ids for files to enforce order Apr 14, 2021
@kevlarr kevlarr merged commit 38c165c into master Apr 16, 2021
@kevlarr kevlarr deleted the rev-sequence branch April 16, 2021 12:18
@kevlarr kevlarr changed the title WIP Use sequential ids for files to enforce order Use sequential ids for files to enforce order Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant