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

Add a way to create sequences #910

Closed
jwoertink opened this issue Nov 29, 2022 · 0 comments · Fixed by #1003
Closed

Add a way to create sequences #910

jwoertink opened this issue Nov 29, 2022 · 0 comments · Fixed by #1003
Labels
feature request A new requested feature / option

Comments

@jwoertink
Copy link
Member

This would just be a nice little helper method for creating and dropping sequences

create_sequence :account, :number
# CREATE SEQUENCE accounts_number_seq

drop_sequence :account, :number
# DROP SEQUENCE accounts_number_seq

I think sequences need an OWNED BY.... so not sure how that plays in, but whomever takes this on can look in to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A new requested feature / option
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant