Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[indexer] alter public key to use text type. #499

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
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;
3 changes: 1 addition & 2 deletions rust/processor/src/db/postgres/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -963,8 +963,7 @@ diesel::table! {
is_sender_primary -> Bool,
#[sql_name = "type"]
type_ -> Varchar,
#[max_length = 136]
public_key -> Varchar,
public_key -> Text,
signature -> Text,
threshold -> Int8,
public_key_indices -> Jsonb,
Expand Down
Loading