Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DMD-33 add tableName as key
Browse files Browse the repository at this point in the history
vojtabiberle committed Jan 20, 2025

Verified

This commit was signed with the committer’s verified signature.
mihaimaruseac Mihai Maruseac
1 parent 4b2b364 commit 1ac332a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ public function getViewsNames(): array
}

/**
* @return array<int, SnowflakeTableDefinition>
* @return array<string, SnowflakeTableDefinition>
*/
public function getDefinitions(): array
{
@@ -131,7 +131,7 @@ public function getDefinitions(): array

$definitions = [];
foreach ($tables as $tableName => $table) {
$definitions[] = new SnowflakeTableDefinition(
$definitions[$tableName] = new SnowflakeTableDefinition(
$this->schemaName,
$tableName,
$table['PROPS']['TEMPORARY'],

0 comments on commit 1ac332a

Please sign in to comment.