Skip to content

Commit

Permalink
chore: Fix DB migration for older versions of MySQL (#12328)
Browse files Browse the repository at this point in the history
  • Loading branch information
burivuhster authored Dec 20, 2024
1 parent 50913de commit 2f21404
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class AddMockedNodesColumnToTestDefinition1733133775640 implements Revers
const mockedNodesColumnName = escape.columnName('mockedNodes');

await runQuery(
`ALTER TABLE ${tableName} ADD COLUMN ${mockedNodesColumnName} JSON DEFAULT '[]' NOT NULL`,
`ALTER TABLE ${tableName} ADD COLUMN ${mockedNodesColumnName} JSON DEFAULT ('[]') NOT NULL`,
);
}

Expand Down

0 comments on commit 2f21404

Please sign in to comment.