Skip to content

Commit

Permalink
TASK: Adjust casings of columns
Browse files Browse the repository at this point in the history
Just for cosmetics: #5096 (comment)
  • Loading branch information
mhsdesign committed Oct 17, 2024
1 parent 4a652d2 commit a18801b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ public function setUp(): void
$this->dbal->getSchemaManager()->tablesExist([$legacyWorkspaceTableName])
&& !$this->dbal->getSchemaManager()->tablesExist([$this->tableNames->workspace()])
) {
$statements[] = 'INSERT INTO ' . $this->tableNames->workspace() . ' (name, baseWorkspaceName, currentContentStreamId, status) SELECT workspaceName AS name, baseWorkspaceName, currentContentStreamId, status FROM ' . $legacyWorkspaceTableName;
// we ignore the legacy fields workspacetitle, workspacedescription and workspaceowner
$statements[] = 'INSERT INTO ' . $this->tableNames->workspace() . ' (name, baseWorkspaceName, currentContentStreamId, status) SELECT workspacename AS name, baseworkspacename, currentcontentstreamid, status FROM ' . $legacyWorkspaceTableName;
}
$legacyContentStreamTableName = str_replace('_p_graph_contentstream', '_p_contentstream', $this->tableNames->contentStream());
if (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private function markDependentWorkspacesAsOutdated(WorkspaceName $baseWorkspaceN
UPDATE ' . $this->tableNames->workspace() . '
SET status = :outdated
WHERE
baseworkspacename = :baseWorkspaceName
baseWorkspaceName = :baseWorkspaceName
', [
'outdated' => WorkspaceStatus::OUTDATED->value,
'baseWorkspaceName' => $baseWorkspaceName->value
Expand Down

0 comments on commit a18801b

Please sign in to comment.