Since the only thing that cares about this is the rake task where you generate migrations, perhaps it is best located there?