We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f93c1 commit b40cb48Copy full SHA for b40cb48
packages/neuron-wallet/src/database/chain/migrations/1744960856059-AddLockCodeHash.ts
@@ -5,7 +5,7 @@ export class AddLockCodeHash1744960856059 implements MigrationInterface {
5
name = 'AddLockCodeHash1744960856059'
6
7
public async up(queryRunner: QueryRunner): Promise<void> {
8
- await queryRunner.query(`ALTER TABLE "multisig_config" ADD COLUMN "lockCodeHash" character(32);`)
+ await queryRunner.query(`ALTER TABLE "multisig_config" ADD COLUMN "lockCodeHash" varchar`)
9
await queryRunner.query(`UPDATE "multisig_config" SET lockCodeHash = "${SystemScriptInfo.LEGACY_MULTISIG_CODE_HASH}" where lockCodeHash IS NULL`)
10
}
11
0 commit comments