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

        return $this->sortTablesWithFKsToEnd($tables);
    }