renaming timestamp and using changing timestamp type
This commit is contained in:
parent
3cb4a874b9
commit
0e151a75ec
|
@ -9,8 +9,8 @@ CREATE TABLE banking_stage_results.transaction_infos (
|
|||
first_notification_slot BIGINT NOT NULL,
|
||||
cu_requested BIGINT,
|
||||
prioritization_fees BIGINT,
|
||||
timestamp TIMESTAMP NOT NULL,
|
||||
accounts_used text[],
|
||||
utc_timestamp TIMESTAMP WITH TIME ZONE NOT NULL,
|
||||
accounts_used text[]
|
||||
);
|
||||
|
||||
CREATE TABLE banking_stage_results.blocks (
|
||||
|
@ -22,5 +22,5 @@ CREATE TABLE banking_stage_results.blocks (
|
|||
processed_transactions BIGINT,
|
||||
total_cu_used BIGINT,
|
||||
total_cu_requested BIGINT,
|
||||
heavily_writelocked_accounts text[],
|
||||
heavily_writelocked_accounts text[]
|
||||
);
|
|
@ -99,7 +99,7 @@ impl PostgresSession {
|
|||
let mut query = String::from(
|
||||
r#"
|
||||
INSERT INTO banking_stage_results.transaction_infos
|
||||
(signature, message, errors, is_executed, is_confirmed, first_notification_slot, cu_requested, prioritization_fees, timestamp, accounts_used)
|
||||
(signature, message, errors, is_executed, is_confirmed, first_notification_slot, cu_requested, prioritization_fees, utc_timestamp, accounts_used)
|
||||
VALUES
|
||||
"#,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue