| 1 | <?php |
||
| 9 | class CreateAbilitiesTable extends Migration |
||
|
|
|||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Run the migrations. |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | public function up() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Reverse the migrations. |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function down() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Get jsonable column data type. |
||
| 46 | * |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | protected function jsonable() |
||
| 55 | } |
||
| 56 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.