Skip to content

telescope:install create duplicate migrationsΒ #1589

@magdicom

Description

@magdicom

Image

Telescope Version

5.7.0

Laravel Version

12.12.0

PHP Version

8.4.6

Database Driver & Version

10.4.32-MariaDB

Description

when you simply run php artisan telescope:install for the first time in your project it will place a new migration file in your app, the problem if you ran the command one more time it will place the same file again but with a new name, causing a migration error telescope_entries already exists.

Steps To Reproduce

  1. in a new or existing project call php artisan telescope:install.
  2. now run php artisan migrate, if this is a new project everything will go ok.
  3. now call again php artisan telescope:install, a new migration file will be created inside app migrations folder with the different name but the same content from step no.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions