Skip to content

Commit

Permalink
Merge pull request #14 from cristianoteles/patch-1
Browse files Browse the repository at this point in the history
[FIX] Invalid class name for schema table
  • Loading branch information
oscarafdev authored Mar 9, 2020
2 parents 1d10307 + 0a77789 commit 837e6de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ protected function generateTablesAndIndices( array $tables )

foreach ( $tables as $table ) {
$this->table = $table;
$this->migrationName = 'create_'. $this->table .'_table';
$this->migrationName = 'create_' . str_replace('.', '', $this->table) . '_table';
$this->fields = $this->schemaGenerator->getFields( $this->table );

$this->generate();
Expand Down

0 comments on commit 837e6de

Please sign in to comment.