-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DB] Increase VARCHAR size of columns unsigned_tx, output_owners and …
…switch charset to ascii (#63)
- Loading branch information
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
db/migrations/004_increase_unsigned_tx_output_owners_size.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE multisig_tx MODIFY unsigned_tx VARCHAR(4096) CHARACTER SET utf8mb4; | ||
ALTER TABLE multisig_tx MODIFY output_owners VARCHAR(512) CHARACTER SET utf8mb4; |
2 changes: 2 additions & 0 deletions
2
db/migrations/004_increase_unsigned_tx_output_owners_size.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE multisig_tx MODIFY unsigned_tx VARCHAR(32768) CHARACTER SET ascii; | ||
ALTER TABLE multisig_tx MODIFY output_owners VARCHAR(16384) CHARACTER SET ascii; |