Hi I would like to create my own custom method which I could use in the migration class. I mean something like this:
MigrationTraitFile.php
trait MigrationTrait {
public function addAdditionalTable() {
...
}
VersionXXX.php
class VersionXXX {
use MigrationTrait;
public function up() {
$this->addAdditionalTable()
}
So the trait should addSql to create Table in my migration class. Any idea?