File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
migrations/2024-09-03-232100_alter_signature_public_key_to_text Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ -- This file should undo anything in `up.sql`
2
+ ALTER TABLE signatures
3
+ ALTER COLUMN public_key TYPE VARCHAR (136 );
Original file line number Diff line number Diff line change
1
+ -- Your SQL goes here
2
+ ALTER TABLE signatures
3
+ ALTER COLUMN public_key TYPE TEXT ;
Original file line number Diff line number Diff line change @@ -963,8 +963,7 @@ diesel::table! {
963
963
is_sender_primary -> Bool ,
964
964
#[ sql_name = "type" ]
965
965
type_ -> Varchar ,
966
- #[ max_length = 136 ]
967
- public_key -> Varchar ,
966
+ public_key -> Text ,
968
967
signature -> Text ,
969
968
threshold -> Int8 ,
970
969
public_key_indices -> Jsonb ,
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ pub trait ProcessorTrait: Send + Sync + Debug {
99
99
100
100
/// Gets the connection.
101
101
/// If it was unable to do so (default timeout: 30s), it will keep retrying until it can.
102
+ #[ allow( elided_named_lifetimes) ]
102
103
async fn get_conn ( & self ) -> DbPoolConnection {
103
104
let pool = self . connection_pool ( ) ;
104
105
loop {
You can’t perform that action at this time.
0 commit comments