boost icon indicating copy to clipboard operation
boost copied to clipboard

Prevent Tinker Tool from Dangerous Actions in DB

Open arthurkirkosa opened this issue 8 months ago • 0 comments

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

.

arthurkirkosa avatar Aug 14 '25 19:08 arthurkirkosa