laravel-multitenancy: Can't migrate when using Laravel Telescope.

I get this error:

Base table or view already exists: 1050 Table 'telescope_entries'

Presumably this is because the telescope migration is running against the tenants. Is there a way to get this to run against the landlord?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 15 (2 by maintainers)

Most upvoted comments

Ok, now I have understood. Please add to your AppServiceProvider.php the following line in your register() method:

Telescope::ignoreMigrations();