phinx icon indicating copy to clipboard operation
phinx copied to clipboard

renameTable random droptable

Open frazr opened this issue 10 years ago • 3 comments

Baked a migration in CakePhp and accidentally ran $this->adapter->renameTable('article_attribute_values', 'articles_attribute_values'); which resulted in 7 random tables beeing dropped.

Thought thas was very odd behavior for what i assume is a a wrong object call.

frazr avatar Jan 28 '16 09:01 frazr

Hi @frazr.

You should open a ticket in the CakePHP migrations plugin repo : https://github.com/cakephp/migrations/issues

Please also add a bit more details (DB server, version of CakePHP / the plugin used and migrations file examples : everything that will help us reproduce the issue you are having).

Thank you !

HavokInspiration avatar Jan 28 '16 11:01 HavokInspiration

@frazr very concerning. I'd be interested to know what is happening. please let myself or the CakePHP guys know!

robmorgan avatar Feb 29 '16 15:02 robmorgan

@frazr any update?

dereuromark avatar Mar 01 '18 20:03 dereuromark