class UpdateSequenceForGroups < ActiveRecord::Migration def up # even if you alter a sequence you still need to set the seq execute <