PhpStorm keep deleting my Laravel migration folder content

Hi

Phpstorm keep removing the content of the migration , and i restore it via the history

 

 

Why is that may happend ?

The Sync with the server is not related since there is nothing in the setting to delelte files form the host 

5 comments
Comment actions Permalink

Do you have this project stored on a mapped network drive, or in a folder tracked by some sync software like Dropbox? 

What OS are you on?  If you're on Windows - you can check what apps are accessing the file using procmon, see how-to.

0
Comment actions Permalink

HI

Am om Windows 10/64bit

Well, the only PHPstorm who use sync with my FTP, and no one but me uses the FTP.

and I did not perform any sync via sync with Deployed once this happened.

0
Comment actions Permalink

Are migrations empty on the remote host? 

Would disabling "Upload changed files automatically ..." help?

0
Comment actions Permalink

No, it is not empty 

 

>>Upload changed files automatically ..."

I did not test that, but I need to upload once the file is saved!

0
Comment actions Permalink

Try to upload it manually (right click > Deployment > Upload) and see if there's any difference.

Next: if there's some unexpected file content modification - could you please attach a screenshot that would actually show it? For example a screenshot with a diff from local history. 

Does content modifications match the contents on a remote host?

0

Please sign in to leave a comment.