Skip to content

Commit

Permalink
chore: Fix DB migration for older versions of MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
burivuhster committed Dec 20, 2024
1 parent a71194c commit 0aa16c7
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 0aa16c7

Please sign in to comment.