1 | <?php |
||
9 | class CreateRolesTable extends Migration |
||
|
|||
10 | { |
||
11 | /** |
||
12 | * Run the migrations. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function up() |
||
31 | |||
32 | /** |
||
33 | * Reverse the migrations. |
||
34 | * |
||
35 | * @return void |
||
36 | */ |
||
37 | public function down() |
||
41 | |||
42 | /** |
||
43 | * Get jsonable column data type. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | protected function jsonable() |
||
53 | } |
||
54 |
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.