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

Create missing SQL sequences. #3469

Merged
merged 1 commit into from Oct 6, 2017
Merged

Create missing SQL sequences. #3469

merged 1 commit into from Oct 6, 2017

Commits on Oct 5, 2017

  1. Create missing SQL sequences.

    When creating a new table with a sequence in a schema migration, the
    sequence is not created automatically.
    We haven't done that up to now.
    
    This change introduces a helper "ensure_sequence_exists", which safely
    creates a sequences when it is missing.
    
    An upgrade step makes sure all currently known sequences exist.
    
    The last two upgrade steps were updated to ensure the their sequences
    exist in order to improve the copy/paste experience for future migrations.
    jone committed Oct 5, 2017
    Copy the full SHA
    dc295cb View commit details
    Browse the repository at this point in the history