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

Adding create_sequence and drop_sequence migration helpers. #1003

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

jwoertink
Copy link
Member

Fixes #910

This adds new create_sequence and drop_sequence migration helpers.

def migrate
  create_sequence table_for(Account), :number
end

def rollback
  drop_sequence table_for(Account), :number
end

@jwoertink jwoertink merged commit 0366d79 into main Mar 9, 2024
9 checks passed
@jwoertink jwoertink deleted the issues/910 branch March 9, 2024 21:26
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.

Add a way to create sequences
1 participant