-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[indexer] alter public key to use text type. (#499)
* alter public key to use text type. * fix linter.
- Loading branch information
1 parent
33f8836
commit 9200855
Showing
4 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
.../src/db/postgres/migrations/2024-09-03-232100_alter_signature_public_key_to_text/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,3 @@ | ||
-- This file should undo anything in `up.sql` | ||
ALTER TABLE signatures | ||
ALTER COLUMN public_key TYPE VARCHAR(136); |
3 changes: 3 additions & 0 deletions
3
...or/src/db/postgres/migrations/2024-09-03-232100_alter_signature_public_key_to_text/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,3 @@ | ||
-- Your SQL goes here | ||
ALTER TABLE signatures | ||
ALTER COLUMN public_key TYPE TEXT; |
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
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