| 1 | <?php |
||
| 6 | class AddIpToLernTables extends Migration { |
||
|
1 ignored issue
–
show
|
|||
| 7 | |||
| 8 | /** |
||
| 9 | * Run the migrations. |
||
| 10 | * |
||
| 11 | * @return void |
||
| 12 | */ |
||
| 13 | public function up() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Reverse the migrations. |
||
| 22 | * |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | public function down() |
||
| 31 | |||
| 32 | } |
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.