Xethron / migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
3.32k stars 588 forks source link

Default [Y/n] question value not used #151

Open cweiske opened 6 years ago

cweiske commented 6 years ago

When creating the migration table in laravel, I get an error when I simply press return when being asked a Y/n question:

Do you want to log these migrations in the migrations table? [Y/n] :
> 

[ERROR] A value is required.                                                                                           

Do you want to log these migrations in the migrations table? [Y/n] :
> Y
Migration table created successfully.

Y is uppercase because it's the default value, so simply pressing return should mean "Yes".