Skip to content

Commit

Permalink
Merge pull request #8 from nguyenk/1.1
Browse files Browse the repository at this point in the history
set SchemaAnalyzer::isJunctionTable public, as it is a very usefull function
  • Loading branch information
moufmouf authored Jun 5, 2017
2 parents c96bebb + 672c488 commit d543c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SchemaAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function detectJunctionTables($ignoreReferencedTables = false)
*
* @return bool
*/
private function isJunctionTable(Table $table, $ignoreReferencedTables = false)
public function isJunctionTable(Table $table, $ignoreReferencedTables = false)
{
$foreignKeys = $table->getForeignKeys();
if (count($foreignKeys) !== 2) {
Expand Down

0 comments on commit d543c34

Please sign in to comment.