Create migrations with model generator #10

wants to merge 1 commit into


None yet

1 participant


Adding template and method (and option) to generate migration when generating a model. It was taken from the ActiveRecord model_generator, but i removed testing if parent class set (AR skips migrations if parent is set because it only supports single table inheritance), not sure what would be the optimal for sequel. I simply copied the template from migrations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment