protected function createTableRelations(array $tables)
    {
        /** @var TableMigration $tableObject */
        foreach ($tables as $tableObject) {
            $tableObject->relateToOtherTables($tables);
        } // foreach

        return $this->sortTablesWithFKsToEnd($tables);
    }
protected function createTableRelations(array $tables)
    {
        /** @var TableMigration $tableObject */
        foreach ($tables as $tableObject) {
            $tableObject->relateToOtherTables($tables);
        } // foreach

        return $this->sortTablesWithFKsToEnd($tables);
    }
protected function createTableRelations ( array $ tables ) { /** @var TableMigration $tableObject */ foreach ( $ tables as $ tableObject ) { $ tableObject -> relateToOtherTables ( $ tables ) ; } // foreach return $ this -> sortTablesWithFKsToEnd ( $ tables ) ; }
Creates the relations between the tables.
@param TableMigration[] $tables
@return TableMigration[]
Creates the relations between the tables .