activerecord-clean-db-structure
activerecord-clean-db-structure copied to clipboard
skip standalone sequences
trafficstars
Sequence created without table should not be dropped from dump
@xronos-i-am Is this still desired functionality? Do you have a scenario where a sequence is created outside of a table, where it shouldn't be dumped?
I could see a scenario where someone creates a sequence owned by some column, and we'd want to dump it.
If you could explain the use case more, that would help. Thanks!
Hi. Yes it is still desireable. We use sequences without tables sometimes. When we assume that a related table may appear in the future, but we don't need it for now. We use sequence as autoincremented counter in that case