Skip to content

Commit

Permalink
fix(Table): automatic table names not working correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
roydejong committed Jun 28, 2024
1 parent cafe89e commit a4f30f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Database/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function getTableName(): string
if ($this->reflectionModel->nameOverride) {
return $this->reflectionModel->nameOverride;
} else {
return Column::getDefaultColumnName($this->modelClassNameNoNamespace);
return self::getDefaultTableName($this->modelClassNameNoNamespace);
}
}

Expand Down

0 comments on commit a4f30f0

Please sign in to comment.