Skip to content

Prevent Tinker Tool from Dangerous Actions in DB #125

@arthurkirkosa

Description

@arthurkirkosa

Laravel Package Version

1.0.17

Laravel Version

12.24

PHP Version

8.4

System Info

macOS 26

Description

The Tinker Tool should explicitly inform the ai to ask the user's permission if it wants to run migrations, seeds or delete entries from any table (or the entire content of the table).

I had Claude find some items in DB and it decided it was best to run the migrations, when that failed, it removed the contents of multiple tables and seeded it's own data, just to run a routine in the app where it was supposed to verify that the output was good for the fix it did.

Steps To Reproduce

.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions