commandbox-modules / commandbox-migrations

MIT License
7 stars 9 forks source link

Add a `pretend` mode to output SQL instead of running it #21

Open elpete opened 4 years ago

elpete commented 4 years ago

See:

https://github.com/laravel/framework/blob/6e927e78aafd578d59c99608e7f0e23a5f7bfc5a/src/Illuminate/Database/Console/Migrations/MigrateCommand.php

https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Migrations/Migrator.php

lhoess commented 10 months ago

There is a pretend mode now according the the docs, but setting it to true still creates the table but not the migrations db entry.