Use $table->enum('name', [values])
.
See https://github.com/laravel/framework/blob/master/src/Illuminate/Database/Schema/Blueprint.php#L566
Marwelln said:
Use
$table->enum('name', [values])
.See https://github.com/laravel/framework/blob/master/src/Illuminate/Database/Schema/Blueprint.php#L566
I want to create "set" column, not enum :/
Just pushed a pull request on this; https://github.com/laravel/framework/pull/4005
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community