atk4 / schema

Few classes built on top of Agile Data that can take care of your SQL database schema
https://agiletoolkit.org/
MIT License
4 stars 5 forks source link

Use "clone" instead of "new static" #26

Closed mvorisek closed 4 years ago

mvorisek commented 4 years ago

Code: https://github.com/atk4/schema/blob/develop/src/Migration.php#L331

currently if primary_key_expr is changed, the change is ignored, as the change was made at once instance, but the importTable() is called on another instance.

mvorisek commented 4 years ago

Closing as issue not related to "new static".