[MODEL] Claude change migrations everytime rather than creating new ones

Resolved 💬 5 comments Opened Dec 31, 2025 by hmzlam Closed Feb 15, 2026

Preflight Checklist

  • [x] I have searched existing issues for similar behavior reports
  • [x] This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Other unexpected behavior

What You Asked Claude to Do

any change on existing tables in laravel project

What Claude Actually Did

claude wants to change existing old migrations

Expected Behavior

claude should create new migration to change a table, existing old migrations are already processed in database you could not change them, safer approach is just create new one , or change migration only created in current session
this prevents the user from trusting the model and give it full control of project

Files Affected

old migrations

Permission Mode

Accept Edits was OFF (manual approval required)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

ask to modify a table structure in project

Claude Model

Opus

Relevant Conversation

Impact

High - Significant unwanted changes

Claude Code Version

all versions

Platform

Anthropic API

Additional Context

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗