| 1 | <?php |
||
| 6 | class OauthIdentitiesTable extends Migration |
||
|
|
|||
| 7 | { |
||
| 8 | /** |
||
| 9 | * The authentication service providers table name. |
||
| 10 | * |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $authenticationProvidersTable; |
||
| 14 | /** |
||
| 15 | * The users table name. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $usersTable; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * CreateOauthIdentitiesTable constructor. |
||
| 23 | */ |
||
| 24 | public function __construct() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Run the migrations. |
||
| 31 | * |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | public function up() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Reverse the migrations. |
||
| 54 | * |
||
| 55 | * @return void |
||
| 56 | */ |
||
| 57 | public function down() |
||
| 64 | } |
||
| 65 |
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.