diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/DefaultSchema.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/DefaultSchema.java
index 9b67aa66..e9c46b45 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/DefaultSchema.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/DefaultSchema.java
@@ -12,12 +12,9 @@
import org.cardanofoundation.ledgersync.jooq.tables.AddressToken;
import org.cardanofoundation.ledgersync.jooq.tables.AddressTokenBalance;
import org.cardanofoundation.ledgersync.jooq.tables.AddressTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.AggAddressToken;
-import org.cardanofoundation.ledgersync.jooq.tables.AggAddressTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.AggPoolInfo;
-import org.cardanofoundation.ledgersync.jooq.tables.AssetMetadata;
import org.cardanofoundation.ledgersync.jooq.tables.Block;
import org.cardanofoundation.ledgersync.jooq.tables.CostModel;
+import org.cardanofoundation.ledgersync.jooq.tables.Cursor_;
import org.cardanofoundation.ledgersync.jooq.tables.Datum;
import org.cardanofoundation.ledgersync.jooq.tables.Delegation;
import org.cardanofoundation.ledgersync.jooq.tables.DelistedPool;
@@ -25,6 +22,7 @@
import org.cardanofoundation.ledgersync.jooq.tables.EpochParam;
import org.cardanofoundation.ledgersync.jooq.tables.EpochStake;
import org.cardanofoundation.ledgersync.jooq.tables.EpochSyncTime;
+import org.cardanofoundation.ledgersync.jooq.tables.Era;
import org.cardanofoundation.ledgersync.jooq.tables.ExtraKeyWitness;
import org.cardanofoundation.ledgersync.jooq.tables.FailedTxOut;
import org.cardanofoundation.ledgersync.jooq.tables.MaTxMint;
@@ -38,14 +36,12 @@
import org.cardanofoundation.ledgersync.jooq.tables.PoolOfflineFetchError;
import org.cardanofoundation.ledgersync.jooq.tables.PoolOwner;
import org.cardanofoundation.ledgersync.jooq.tables.PoolRelay;
-import org.cardanofoundation.ledgersync.jooq.tables.PoolReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.PoolRetire;
import org.cardanofoundation.ledgersync.jooq.tables.PoolUpdate;
import org.cardanofoundation.ledgersync.jooq.tables.PotTransfer;
import org.cardanofoundation.ledgersync.jooq.tables.Redeemer;
import org.cardanofoundation.ledgersync.jooq.tables.RedeemerData;
import org.cardanofoundation.ledgersync.jooq.tables.ReferenceTxIn;
-import org.cardanofoundation.ledgersync.jooq.tables.ReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.Reserve;
import org.cardanofoundation.ledgersync.jooq.tables.ReservedPoolTicker;
import org.cardanofoundation.ledgersync.jooq.tables.Reward;
@@ -55,18 +51,16 @@
import org.cardanofoundation.ledgersync.jooq.tables.SlotLeader;
import org.cardanofoundation.ledgersync.jooq.tables.StakeAddress;
import org.cardanofoundation.ledgersync.jooq.tables.StakeDeregistration;
-import org.cardanofoundation.ledgersync.jooq.tables.StakeKeyReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.StakeRegistration;
-import org.cardanofoundation.ledgersync.jooq.tables.StakeTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.TokenInfo;
-import org.cardanofoundation.ledgersync.jooq.tables.TokenInfoCheckpoint;
import org.cardanofoundation.ledgersync.jooq.tables.Treasury;
import org.cardanofoundation.ledgersync.jooq.tables.Tx;
+import org.cardanofoundation.ledgersync.jooq.tables.TxBootstrapWitnesses;
import org.cardanofoundation.ledgersync.jooq.tables.TxChart;
import org.cardanofoundation.ledgersync.jooq.tables.TxIn;
import org.cardanofoundation.ledgersync.jooq.tables.TxMetadata;
import org.cardanofoundation.ledgersync.jooq.tables.TxMetadataHash;
import org.cardanofoundation.ledgersync.jooq.tables.TxOut;
+import org.cardanofoundation.ledgersync.jooq.tables.TxWitnesses;
import org.cardanofoundation.ledgersync.jooq.tables.UnconsumeTxIn;
import org.cardanofoundation.ledgersync.jooq.tables.Withdrawal;
import org.jooq.Catalog;
@@ -113,26 +107,6 @@ public class DefaultSchema extends SchemaImpl {
*/
public final AddressTxBalance ADDRESS_TX_BALANCE = AddressTxBalance.ADDRESS_TX_BALANCE;
- /**
- * The table agg_address_token
.
- */
- public final AggAddressToken AGG_ADDRESS_TOKEN = AggAddressToken.AGG_ADDRESS_TOKEN;
-
- /**
- * The table agg_address_tx_balance
.
- */
- public final AggAddressTxBalance AGG_ADDRESS_TX_BALANCE = AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE;
-
- /**
- * The table agg_pool_info
.
- */
- public final AggPoolInfo AGG_POOL_INFO = AggPoolInfo.AGG_POOL_INFO;
-
- /**
- * The table asset_metadata
.
- */
- public final AssetMetadata ASSET_METADATA = AssetMetadata.ASSET_METADATA;
-
/**
* The table block
.
*/
@@ -143,6 +117,11 @@ public class DefaultSchema extends SchemaImpl {
*/
public final CostModel COST_MODEL = CostModel.COST_MODEL;
+ /**
+ * The table cursor_
.
+ */
+ public final Cursor_ CURSOR_ = Cursor_.CURSOR_;
+
/**
* The table datum
.
*/
@@ -178,6 +157,11 @@ public class DefaultSchema extends SchemaImpl {
*/
public final EpochSyncTime EPOCH_SYNC_TIME = EpochSyncTime.EPOCH_SYNC_TIME;
+ /**
+ * The table era
.
+ */
+ public final Era ERA = Era.ERA;
+
/**
* The table extra_key_witness
.
*/
@@ -243,11 +227,6 @@ public class DefaultSchema extends SchemaImpl {
*/
public final PoolRelay POOL_RELAY = PoolRelay.POOL_RELAY;
- /**
- * The table pool_report_history
.
- */
- public final PoolReportHistory POOL_REPORT_HISTORY = PoolReportHistory.POOL_REPORT_HISTORY;
-
/**
* The table pool_retire
.
*/
@@ -278,11 +257,6 @@ public class DefaultSchema extends SchemaImpl {
*/
public final ReferenceTxIn REFERENCE_TX_IN = ReferenceTxIn.REFERENCE_TX_IN;
- /**
- * The table report_history
.
- */
- public final ReportHistory REPORT_HISTORY = ReportHistory.REPORT_HISTORY;
-
/**
* The table reserve
.
*/
@@ -328,31 +302,11 @@ public class DefaultSchema extends SchemaImpl {
*/
public final StakeDeregistration STAKE_DEREGISTRATION = StakeDeregistration.STAKE_DEREGISTRATION;
- /**
- * The table stake_key_report_history
.
- */
- public final StakeKeyReportHistory STAKE_KEY_REPORT_HISTORY = StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY;
-
/**
* The table stake_registration
.
*/
public final StakeRegistration STAKE_REGISTRATION = StakeRegistration.STAKE_REGISTRATION;
- /**
- * The table stake_tx_balance
.
- */
- public final StakeTxBalance STAKE_TX_BALANCE = StakeTxBalance.STAKE_TX_BALANCE;
-
- /**
- * The table token_info
.
- */
- public final TokenInfo TOKEN_INFO = TokenInfo.TOKEN_INFO;
-
- /**
- * The table token_info_checkpoint
.
- */
- public final TokenInfoCheckpoint TOKEN_INFO_CHECKPOINT = TokenInfoCheckpoint.TOKEN_INFO_CHECKPOINT;
-
/**
* The table treasury
.
*/
@@ -363,6 +317,11 @@ public class DefaultSchema extends SchemaImpl {
*/
public final Tx TX = Tx.TX;
+ /**
+ * The table tx_bootstrap_witnesses
.
+ */
+ public final TxBootstrapWitnesses TX_BOOTSTRAP_WITNESSES = TxBootstrapWitnesses.TX_BOOTSTRAP_WITNESSES;
+
/**
* The table tx_chart
.
*/
@@ -388,6 +347,11 @@ public class DefaultSchema extends SchemaImpl {
*/
public final TxOut TX_OUT = TxOut.TX_OUT;
+ /**
+ * The table tx_witnesses
.
+ */
+ public final TxWitnesses TX_WITNESSES = TxWitnesses.TX_WITNESSES;
+
/**
* The table unconsume_tx_in
.
*/
@@ -426,12 +390,9 @@ public final List
> getTables() {
AddressToken.ADDRESS_TOKEN,
AddressTokenBalance.ADDRESS_TOKEN_BALANCE,
AddressTxBalance.ADDRESS_TX_BALANCE,
- AggAddressToken.AGG_ADDRESS_TOKEN,
- AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE,
- AggPoolInfo.AGG_POOL_INFO,
- AssetMetadata.ASSET_METADATA,
Block.BLOCK,
CostModel.COST_MODEL,
+ Cursor_.CURSOR_,
Datum.DATUM,
Delegation.DELEGATION,
DelistedPool.DELISTED_POOL,
@@ -439,6 +400,7 @@ public final List> getTables() {
EpochParam.EPOCH_PARAM,
EpochStake.EPOCH_STAKE,
EpochSyncTime.EPOCH_SYNC_TIME,
+ Era.ERA,
ExtraKeyWitness.EXTRA_KEY_WITNESS,
FailedTxOut.FAILED_TX_OUT,
MaTxMint.MA_TX_MINT,
@@ -452,14 +414,12 @@ public final List> getTables() {
PoolOfflineFetchError.POOL_OFFLINE_FETCH_ERROR,
PoolOwner.POOL_OWNER,
PoolRelay.POOL_RELAY,
- PoolReportHistory.POOL_REPORT_HISTORY,
PoolRetire.POOL_RETIRE,
PoolUpdate.POOL_UPDATE,
PotTransfer.POT_TRANSFER,
Redeemer.REDEEMER,
RedeemerData.REDEEMER_DATA,
ReferenceTxIn.REFERENCE_TX_IN,
- ReportHistory.REPORT_HISTORY,
Reserve.RESERVE,
ReservedPoolTicker.RESERVED_POOL_TICKER,
Reward.REWARD,
@@ -469,18 +429,16 @@ public final List> getTables() {
SlotLeader.SLOT_LEADER,
StakeAddress.STAKE_ADDRESS,
StakeDeregistration.STAKE_DEREGISTRATION,
- StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY,
StakeRegistration.STAKE_REGISTRATION,
- StakeTxBalance.STAKE_TX_BALANCE,
- TokenInfo.TOKEN_INFO,
- TokenInfoCheckpoint.TOKEN_INFO_CHECKPOINT,
Treasury.TREASURY,
Tx.TX,
+ TxBootstrapWitnesses.TX_BOOTSTRAP_WITNESSES,
TxChart.TX_CHART,
TxIn.TX_IN,
TxMetadata.TX_METADATA,
TxMetadataHash.TX_METADATA_HASH,
TxOut.TX_OUT,
+ TxWitnesses.TX_WITNESSES,
UnconsumeTxIn.UNCONSUME_TX_IN,
Withdrawal.WITHDRAWAL
);
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/Indexes.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/Indexes.java
index 9dc2cc0e..2dd9f0c7 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/Indexes.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/Indexes.java
@@ -8,11 +8,8 @@
import org.cardanofoundation.ledgersync.jooq.tables.AddressToken;
import org.cardanofoundation.ledgersync.jooq.tables.AddressTokenBalance;
import org.cardanofoundation.ledgersync.jooq.tables.AddressTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.AggAddressToken;
-import org.cardanofoundation.ledgersync.jooq.tables.AggAddressTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.AggPoolInfo;
-import org.cardanofoundation.ledgersync.jooq.tables.AssetMetadata;
import org.cardanofoundation.ledgersync.jooq.tables.Block;
+import org.cardanofoundation.ledgersync.jooq.tables.Cursor_;
import org.cardanofoundation.ledgersync.jooq.tables.Datum;
import org.cardanofoundation.ledgersync.jooq.tables.Delegation;
import org.cardanofoundation.ledgersync.jooq.tables.Epoch;
@@ -29,13 +26,11 @@
import org.cardanofoundation.ledgersync.jooq.tables.PoolOfflineFetchError;
import org.cardanofoundation.ledgersync.jooq.tables.PoolOwner;
import org.cardanofoundation.ledgersync.jooq.tables.PoolRelay;
-import org.cardanofoundation.ledgersync.jooq.tables.PoolReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.PoolRetire;
import org.cardanofoundation.ledgersync.jooq.tables.PoolUpdate;
import org.cardanofoundation.ledgersync.jooq.tables.Redeemer;
import org.cardanofoundation.ledgersync.jooq.tables.RedeemerData;
import org.cardanofoundation.ledgersync.jooq.tables.ReferenceTxIn;
-import org.cardanofoundation.ledgersync.jooq.tables.ReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.Reserve;
import org.cardanofoundation.ledgersync.jooq.tables.ReservedPoolTicker;
import org.cardanofoundation.ledgersync.jooq.tables.Reward;
@@ -43,16 +38,17 @@
import org.cardanofoundation.ledgersync.jooq.tables.SlotLeader;
import org.cardanofoundation.ledgersync.jooq.tables.StakeAddress;
import org.cardanofoundation.ledgersync.jooq.tables.StakeDeregistration;
-import org.cardanofoundation.ledgersync.jooq.tables.StakeKeyReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.StakeRegistration;
-import org.cardanofoundation.ledgersync.jooq.tables.StakeTxBalance;
import org.cardanofoundation.ledgersync.jooq.tables.Treasury;
import org.cardanofoundation.ledgersync.jooq.tables.Tx;
+import org.cardanofoundation.ledgersync.jooq.tables.TxBootstrapWitnesses;
import org.cardanofoundation.ledgersync.jooq.tables.TxChart;
import org.cardanofoundation.ledgersync.jooq.tables.TxIn;
import org.cardanofoundation.ledgersync.jooq.tables.TxMetadata;
import org.cardanofoundation.ledgersync.jooq.tables.TxMetadataHash;
import org.cardanofoundation.ledgersync.jooq.tables.TxOut;
+import org.cardanofoundation.ledgersync.jooq.tables.TxWitnesses;
+import org.cardanofoundation.ledgersync.jooq.tables.UnconsumeTxIn;
import org.cardanofoundation.ledgersync.jooq.tables.Withdrawal;
import org.jooq.Index;
import org.jooq.OrderField;
@@ -73,27 +69,12 @@ public class Indexes {
public static final Index ADDRESS_ADDRESS_HAS_SCRIPT_IDX = Internal.createIndex(DSL.name("address_address_has_script_idx"), Address.ADDRESS, new OrderField[] { Address.ADDRESS.ADDRESS_HAS_SCRIPT }, false);
public static final Index ADDRESS_BALANCE_IDX = Internal.createIndex(DSL.name("address_balance_idx"), Address.ADDRESS, new OrderField[] { Address.ADDRESS.BALANCE }, false);
public static final Index ADDRESS_TOKEN_BALANCE_IDENT_STAKE_ADDRESS_ID_BALANCE_IDX = Internal.createIndex(DSL.name("address_token_balance_ident_stake_address_id_balance_idx"), AddressTokenBalance.ADDRESS_TOKEN_BALANCE, new OrderField[] { AddressTokenBalance.ADDRESS_TOKEN_BALANCE.IDENT, AddressTokenBalance.ADDRESS_TOKEN_BALANCE.STAKE_ADDRESS_ID, AddressTokenBalance.ADDRESS_TOKEN_BALANCE.BALANCE }, false);
- public static final Index ADDRESS_TOKEN_BALANCE_STAKE_ADDRESS_ID_IDX = Internal.createIndex(DSL.name("address_token_balance_stake_address_id_idx"), AddressTokenBalance.ADDRESS_TOKEN_BALANCE, new OrderField[] { AddressTokenBalance.ADDRESS_TOKEN_BALANCE.STAKE_ADDRESS_ID }, false);
public static final Index ADDRESS_TOKEN_IDENT_STAKE_TX_ID_BALANCE_IDX = Internal.createIndex(DSL.name("address_token_ident_stake_tx_id_balance_idx"), AddressToken.ADDRESS_TOKEN, new OrderField[] { AddressToken.ADDRESS_TOKEN.IDENT, AddressToken.ADDRESS_TOKEN.TX_ID, AddressToken.ADDRESS_TOKEN.BALANCE }, false);
- public static final Index ADDRESS_TOKEN_IDENT_TX_ID_BALANCE_IDX = Internal.createIndex(DSL.name("address_token_ident_tx_id_balance_idx"), AddressToken.ADDRESS_TOKEN, new OrderField[] { AddressToken.ADDRESS_TOKEN.IDENT, AddressToken.ADDRESS_TOKEN.TX_ID, AddressToken.ADDRESS_TOKEN.BALANCE }, false);
public static final Index ADDRESS_TX_BALANCE_ADDRESS_ID_TIME_BALANCE_INDEX = Internal.createIndex(DSL.name("address_tx_balance_address_id_time_balance_index"), AddressTxBalance.ADDRESS_TX_BALANCE, new OrderField[] { AddressTxBalance.ADDRESS_TX_BALANCE.ADDRESS_ID, AddressTxBalance.ADDRESS_TX_BALANCE.TIME, AddressTxBalance.ADDRESS_TX_BALANCE.BALANCE }, false);
- public static final Index ADDRESS_TX_BALANCE_STAKE_ADDRESS_ID_IDX = Internal.createIndex(DSL.name("address_tx_balance_stake_address_id_idx"), AddressTxBalance.ADDRESS_TX_BALANCE, new OrderField[] { AddressTxBalance.ADDRESS_TX_BALANCE.STAKE_ADDRESS_ID }, false);
public static final Index ADDRESS_TX_BALANCE_STAKE_ADDRESS_ID_TX_ID_BALANCE_IDX = Internal.createIndex(DSL.name("address_tx_balance_stake_address_id_tx_id_balance_idx"), AddressTxBalance.ADDRESS_TX_BALANCE, new OrderField[] { AddressTxBalance.ADDRESS_TX_BALANCE.STAKE_ADDRESS_ID, AddressTxBalance.ADDRESS_TX_BALANCE.TX_ID, AddressTxBalance.ADDRESS_TX_BALANCE.BALANCE }, false);
public static final Index ADDRESS_TX_BALANCE_TX_ID_IDX = Internal.createIndex(DSL.name("address_tx_balance_tx_id_idx"), AddressTxBalance.ADDRESS_TX_BALANCE, new OrderField[] { AddressTxBalance.ADDRESS_TX_BALANCE.TX_ID, AddressTxBalance.ADDRESS_TX_BALANCE.ADDRESS_ID }, true);
public static final Index ADDRESS_TX_COUNT_IDX = Internal.createIndex(DSL.name("address_tx_count_idx"), Address.ADDRESS, new OrderField[] { Address.ADDRESS.TX_COUNT }, false);
- public static final Index AGG_ADDRESS_TOKEN_DAY_IDX = Internal.createIndex(DSL.name("agg_address_token_day_idx"), AggAddressToken.AGG_ADDRESS_TOKEN, new OrderField[] { AggAddressToken.AGG_ADDRESS_TOKEN.DAY.desc() }, false);
- public static final Index AGG_ADDRESS_TOKEN_IDENT_DAY_BALANCE_IDX = Internal.createIndex(DSL.name("agg_address_token_ident_day_balance_idx"), AggAddressToken.AGG_ADDRESS_TOKEN, new OrderField[] { AggAddressToken.AGG_ADDRESS_TOKEN.IDENT, AggAddressToken.AGG_ADDRESS_TOKEN.DAY, AggAddressToken.AGG_ADDRESS_TOKEN.BALANCE }, false);
- public static final Index AGG_ADDRESS_TX_BALANCE_ADDRESS_ID_DAY_BALANCE_IDX = Internal.createIndex(DSL.name("agg_address_tx_balance_address_id_day_balance_idx"), AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE, new OrderField[] { AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE.ADDRESS_ID, AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE.DAY, AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE.BALANCE }, false);
- public static final Index AGG_ADDRESS_TX_BALANCE_DAY_IDX = Internal.createIndex(DSL.name("agg_address_tx_balance_day_idx"), AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE, new OrderField[] { AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE.DAY.desc() }, false);
- public static final Index AGG_ADDRESS_TX_BALANCE_DAY_INDEX = Internal.createIndex(DSL.name("agg_address_tx_balance_day_index"), AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE, new OrderField[] { AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE.DAY.desc() }, false);
- public static final Index AGG_ADDRESS_TX_BALANCE_STAKE_ADDRESS_ID_DAY_BALANCE_IDX = Internal.createIndex(DSL.name("agg_address_tx_balance_stake_address_id_day_balance_idx"), AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE, new OrderField[] { AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE.STAKE_ADDRESS_ID, AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE.DAY, AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE.BALANCE }, false);
- public static final Index AGG_POOL_INFO_BLOCK_IN_EPOCH_IDX = Internal.createIndex(DSL.name("agg_pool_info_block_in_epoch_idx"), AggPoolInfo.AGG_POOL_INFO, new OrderField[] { AggPoolInfo.AGG_POOL_INFO.BLOCK_IN_EPOCH }, false);
- public static final Index AGG_POOL_INFO_BLOCK_LIFE_TIME_IDX = Internal.createIndex(DSL.name("agg_pool_info_block_life_time_idx"), AggPoolInfo.AGG_POOL_INFO, new OrderField[] { AggPoolInfo.AGG_POOL_INFO.BLOCK_LIFE_TIME }, false);
- public static final Index AGG_POOL_INFO_DELEGATOR_CNT_IDX = Internal.createIndex(DSL.name("agg_pool_info_delegator_cnt_idx"), AggPoolInfo.AGG_POOL_INFO, new OrderField[] { AggPoolInfo.AGG_POOL_INFO.DELEGATOR_CNT }, false);
- public static final Index ASSET_METADATA_SUBJECT_IDX = Internal.createIndex(DSL.name("asset_metadata_subject_idx"), AssetMetadata.ASSET_METADATA, new OrderField[] { AssetMetadata.ASSET_METADATA.SUBJECT }, false);
- public static final Index ASSET_METADATA_UX = Internal.createIndex(DSL.name("asset_metadata_ux"), AssetMetadata.ASSET_METADATA, new OrderField[] { AssetMetadata.ASSET_METADATA.IDENT }, true);
public static final Index DATUM_HASH_UINDEX = Internal.createIndex(DSL.name("datum_hash_uindex"), Datum.DATUM, new OrderField[] { Datum.DATUM.HASH }, true);
- public static final Index EXAGG_POOL_INFO_POOL_ID_IDX = Internal.createIndex(DSL.name("exagg_pool_info_pool_id_idx"), AggPoolInfo.AGG_POOL_INFO, new OrderField[] { AggPoolInfo.AGG_POOL_INFO.POOL_ID }, false);
public static final Index EXTRA_KEY_WITNESS_HASH_INDEX = Internal.createIndex(DSL.name("extra_key_witness_hash_index"), ExtraKeyWitness.EXTRA_KEY_WITNESS, new OrderField[] { ExtraKeyWitness.EXTRA_KEY_WITNESS.HASH }, false);
public static final Index IDX_ADDRESS_ADDRESS = Internal.createIndex(DSL.name("idx_address_address"), Address.ADDRESS, new OrderField[] { Address.ADDRESS.ADDRESS_ }, false);
public static final Index IDX_ADDRESS_STAKE_ADDRESS_ID = Internal.createIndex(DSL.name("idx_address_stake_address_id"), Address.ADDRESS, new OrderField[] { Address.ADDRESS.STAKE_ADDRESS_ID }, false);
@@ -102,9 +83,11 @@ public class Indexes {
public static final Index IDX_ADDRESS_TOKEN_BALANCE_ADDRESS_ID_IDENT = Internal.createIndex(DSL.name("idx_address_token_balance_address_id_ident"), AddressTokenBalance.ADDRESS_TOKEN_BALANCE, new OrderField[] { AddressTokenBalance.ADDRESS_TOKEN_BALANCE.ADDRESS_ID, AddressTokenBalance.ADDRESS_TOKEN_BALANCE.IDENT }, false);
public static final Index IDX_ADDRESS_TOKEN_BALANCE_IDENT = Internal.createIndex(DSL.name("idx_address_token_balance_ident"), AddressTokenBalance.ADDRESS_TOKEN_BALANCE, new OrderField[] { AddressTokenBalance.ADDRESS_TOKEN_BALANCE.IDENT }, false);
public static final Index IDX_ADDRESS_TOKEN_BALANCE_IDENT_ADDRESS_ID = Internal.createIndex(DSL.name("idx_address_token_balance_ident_address_id"), AddressTokenBalance.ADDRESS_TOKEN_BALANCE, new OrderField[] { AddressTokenBalance.ADDRESS_TOKEN_BALANCE.IDENT, AddressTokenBalance.ADDRESS_TOKEN_BALANCE.ADDRESS_ID }, false);
+ public static final Index IDX_ADDRESS_TOKEN_BALANCE_STAKE_ADDRESS_ID = Internal.createIndex(DSL.name("idx_address_token_balance_stake_address_id"), AddressTokenBalance.ADDRESS_TOKEN_BALANCE, new OrderField[] { AddressTokenBalance.ADDRESS_TOKEN_BALANCE.STAKE_ADDRESS_ID }, false);
public static final Index IDX_ADDRESS_TOKEN_IDENT = Internal.createIndex(DSL.name("idx_address_token_ident"), AddressToken.ADDRESS_TOKEN, new OrderField[] { AddressToken.ADDRESS_TOKEN.IDENT }, false);
public static final Index IDX_ADDRESS_TOKEN_TX_ID = Internal.createIndex(DSL.name("idx_address_token_tx_id"), AddressToken.ADDRESS_TOKEN, new OrderField[] { AddressToken.ADDRESS_TOKEN.TX_ID }, false);
public static final Index IDX_ADDRESS_TX_BALANCE_ADDRESS_ID = Internal.createIndex(DSL.name("idx_address_tx_balance_address_id"), AddressTxBalance.ADDRESS_TX_BALANCE, new OrderField[] { AddressTxBalance.ADDRESS_TX_BALANCE.ADDRESS_ID }, false);
+ public static final Index IDX_ADDRESS_TX_BALANCE_STAKE_ADDRESS_ID = Internal.createIndex(DSL.name("idx_address_tx_balance_stake_address_id"), AddressTxBalance.ADDRESS_TX_BALANCE, new OrderField[] { AddressTxBalance.ADDRESS_TX_BALANCE.STAKE_ADDRESS_ID }, false);
public static final Index IDX_ADDRESS_TX_BALANCE_TIME = Internal.createIndex(DSL.name("idx_address_tx_balance_time"), AddressTxBalance.ADDRESS_TX_BALANCE, new OrderField[] { AddressTxBalance.ADDRESS_TX_BALANCE.TIME }, false);
public static final Index IDX_ADDRESS_TX_BALANCE_TX_ID = Internal.createIndex(DSL.name("idx_address_tx_balance_tx_id"), AddressTxBalance.ADDRESS_TX_BALANCE, new OrderField[] { AddressTxBalance.ADDRESS_TX_BALANCE.TX_ID }, false);
public static final Index IDX_BLOCK_BLOCK_NO = Internal.createIndex(DSL.name("idx_block_block_no"), Block.BLOCK, new OrderField[] { Block.BLOCK.BLOCK_NO }, false);
@@ -114,6 +97,10 @@ public class Indexes {
public static final Index IDX_BLOCK_SLOT_LEADER_ID = Internal.createIndex(DSL.name("idx_block_slot_leader_id"), Block.BLOCK, new OrderField[] { Block.BLOCK.SLOT_LEADER_ID }, false);
public static final Index IDX_BLOCK_SLOT_NO = Internal.createIndex(DSL.name("idx_block_slot_no"), Block.BLOCK, new OrderField[] { Block.BLOCK.SLOT_NO }, false);
public static final Index IDX_BLOCK_TIME = Internal.createIndex(DSL.name("idx_block_time"), Block.BLOCK, new OrderField[] { Block.BLOCK.TIME }, false);
+ public static final Index IDX_CURSOR_BLOCK_HASH = Internal.createIndex(DSL.name("idx_cursor_block_hash"), Cursor_.CURSOR_, new OrderField[] { Cursor_.CURSOR_.BLOCK_HASH }, false);
+ public static final Index IDX_CURSOR_BLOCK_NUMBER = Internal.createIndex(DSL.name("idx_cursor_block_number"), Cursor_.CURSOR_, new OrderField[] { Cursor_.CURSOR_.BLOCK_NUMBER }, false);
+ public static final Index IDX_CURSOR_ID = Internal.createIndex(DSL.name("idx_cursor_id"), Cursor_.CURSOR_, new OrderField[] { Cursor_.CURSOR_.ID }, false);
+ public static final Index IDX_CURSOR_SLOT = Internal.createIndex(DSL.name("idx_cursor_slot"), Cursor_.CURSOR_, new OrderField[] { Cursor_.CURSOR_.SLOT }, false);
public static final Index IDX_DATUM_TX_ID = Internal.createIndex(DSL.name("idx_datum_tx_id"), Datum.DATUM, new OrderField[] { Datum.DATUM.TX_ID }, false);
public static final Index IDX_DELEGATION_ACTIVE_EPOCH_NO = Internal.createIndex(DSL.name("idx_delegation_active_epoch_no"), Delegation.DELEGATION, new OrderField[] { Delegation.DELEGATION.ACTIVE_EPOCH_NO }, false);
public static final Index IDX_DELEGATION_ADDR_ID = Internal.createIndex(DSL.name("idx_delegation_addr_id"), Delegation.DELEGATION, new OrderField[] { Delegation.DELEGATION.ADDR_ID }, false);
@@ -174,6 +161,7 @@ public class Indexes {
public static final Index IDX_TX_OUT_PAYMENT_CRED = Internal.createIndex(DSL.name("idx_tx_out_payment_cred"), TxOut.TX_OUT, new OrderField[] { TxOut.TX_OUT.PAYMENT_CRED }, false);
public static final Index IDX_TX_OUT_STAKE_ADDRESS_ID = Internal.createIndex(DSL.name("idx_tx_out_stake_address_id"), TxOut.TX_OUT, new OrderField[] { TxOut.TX_OUT.STAKE_ADDRESS_ID }, false);
public static final Index IDX_TX_OUT_TX_ID = Internal.createIndex(DSL.name("idx_tx_out_tx_id"), TxOut.TX_OUT, new OrderField[] { TxOut.TX_OUT.TX_ID }, false);
+ public static final Index IDX_UNCONSUME_TX_IN_REDEEMER_ID = Internal.createIndex(DSL.name("idx_unconsume_tx_in_redeemer_id"), UnconsumeTxIn.UNCONSUME_TX_IN, new OrderField[] { UnconsumeTxIn.UNCONSUME_TX_IN.REDEEMER_ID }, false);
public static final Index IDX_WITHDRAWAL_ADDR_ID = Internal.createIndex(DSL.name("idx_withdrawal_addr_id"), Withdrawal.WITHDRAWAL, new OrderField[] { Withdrawal.WITHDRAWAL.ADDR_ID }, false);
public static final Index IDX_WITHDRAWAL_REDEEMER_ID = Internal.createIndex(DSL.name("idx_withdrawal_redeemer_id"), Withdrawal.WITHDRAWAL, new OrderField[] { Withdrawal.WITHDRAWAL.REDEEMER_ID }, false);
public static final Index IDX_WITHDRAWAL_TX_ID = Internal.createIndex(DSL.name("idx_withdrawal_tx_id"), Withdrawal.WITHDRAWAL, new OrderField[] { Withdrawal.WITHDRAWAL.TX_ID }, false);
@@ -184,18 +172,12 @@ public class Indexes {
public static final Index MULTI_ASSET_TIME_IDX = Internal.createIndex(DSL.name("multi_asset_time_idx"), MultiAsset.MULTI_ASSET, new OrderField[] { MultiAsset.MULTI_ASSET.TIME }, false);
public static final Index POOL_HASH_HASH_RAW_INDEX = Internal.createIndex(DSL.name("pool_hash_hash_raw_index"), PoolHash.POOL_HASH, new OrderField[] { PoolHash.POOL_HASH.HASH_RAW }, true);
public static final Index POOL_OFFLINE_DATA_POOL_ID_INDEX = Internal.createIndex(DSL.name("pool_offline_data_pool_id_index"), PoolOfflineData.POOL_OFFLINE_DATA, new OrderField[] { PoolOfflineData.POOL_OFFLINE_DATA.POOL_ID }, false);
- public static final Index POOL_OFFLINE_FETCH_ERROR_POOL_ID_IDX = Internal.createIndex(DSL.name("pool_offline_fetch_error_pool_id_idx"), PoolOfflineFetchError.POOL_OFFLINE_FETCH_ERROR, new OrderField[] { PoolOfflineFetchError.POOL_OFFLINE_FETCH_ERROR.POOL_ID }, false);
- public static final Index POOL_OFFLINE_FETCH_ERROR_POOL_ID_PMR_ID_IDX = Internal.createIndex(DSL.name("pool_offline_fetch_error_pool_id_pmr_id_idx"), PoolOfflineFetchError.POOL_OFFLINE_FETCH_ERROR, new OrderField[] { PoolOfflineFetchError.POOL_OFFLINE_FETCH_ERROR.POOL_ID, PoolOfflineFetchError.POOL_OFFLINE_FETCH_ERROR.PMR_ID }, false);
public static final Index POOL_OWNER_POOL_UPDATE_ID_IDX = Internal.createIndex(DSL.name("pool_owner_pool_update_id_idx"), PoolOwner.POOL_OWNER, new OrderField[] { PoolOwner.POOL_OWNER.POOL_UPDATE_ID }, false);
- public static final Index POOL_REPORT_HISTORY_POOL_ID_IDX = Internal.createIndex(DSL.name("pool_report_history_pool_id_idx"), PoolReportHistory.POOL_REPORT_HISTORY, new OrderField[] { PoolReportHistory.POOL_REPORT_HISTORY.POOL_ID }, false);
- public static final Index POOL_REPORT_HISTORY_POOL_ID_REPORT_ID_IDX = Internal.createIndex(DSL.name("pool_report_history_pool_id_report_id_idx"), PoolReportHistory.POOL_REPORT_HISTORY, new OrderField[] { PoolReportHistory.POOL_REPORT_HISTORY.POOL_ID, PoolReportHistory.POOL_REPORT_HISTORY.REPORT_ID }, false);
- public static final Index POOL_REPORT_HISTORY_REPORT_ID_IDX = Internal.createIndex(DSL.name("pool_report_history_report_id_idx"), PoolReportHistory.POOL_REPORT_HISTORY, new OrderField[] { PoolReportHistory.POOL_REPORT_HISTORY.REPORT_ID }, false);
public static final Index REDEEMER_DATA_HASH_INDEX = Internal.createIndex(DSL.name("redeemer_data_hash_index"), RedeemerData.REDEEMER_DATA, new OrderField[] { RedeemerData.REDEEMER_DATA.HASH }, false);
public static final Index REDEEMER_DATA_TX_ID_IDX = Internal.createIndex(DSL.name("redeemer_data_tx_id_idx"), RedeemerData.REDEEMER_DATA, new OrderField[] { RedeemerData.REDEEMER_DATA.TX_ID }, false);
public static final Index REDEEMER_REDEEMER_DATA_ID_IDX = Internal.createIndex(DSL.name("redeemer_redeemer_data_id_idx"), Redeemer.REDEEMER, new OrderField[] { Redeemer.REDEEMER.REDEEMER_DATA_ID }, false);
+ public static final Index REDEEMER_SCRIPT_HASH_IDX = Internal.createIndex(DSL.name("redeemer_script_hash_idx"), Redeemer.REDEEMER, new OrderField[] { Redeemer.REDEEMER.SCRIPT_HASH }, false);
public static final Index REFERENCE_TX_IN_TX_OUT_ID_IDX = Internal.createIndex(DSL.name("reference_tx_in_tx_out_id_idx"), ReferenceTxIn.REFERENCE_TX_IN, new OrderField[] { ReferenceTxIn.REFERENCE_TX_IN.TX_OUT_ID }, false);
- public static final Index REPORT_HISTORY_STATUS_IDX = Internal.createIndex(DSL.name("report_history_status_idx"), ReportHistory.REPORT_HISTORY, new OrderField[] { ReportHistory.REPORT_HISTORY.STATUS }, false);
- public static final Index REPORT_HISTORY_USERNAME_IDX = Internal.createIndex(DSL.name("report_history_username_idx"), ReportHistory.REPORT_HISTORY, new OrderField[] { ReportHistory.REPORT_HISTORY.USERNAME }, false);
public static final Index REWARD_ADDR_ID_IDX = Internal.createIndex(DSL.name("reward_addr_id_idx"), Reward.REWARD, new OrderField[] { Reward.REWARD.ADDR_ID }, false);
public static final Index REWARD_EARNED_EPOCH_IDX = Internal.createIndex(DSL.name("reward_earned_epoch_idx"), Reward.REWARD, new OrderField[] { Reward.REWARD.EARNED_EPOCH }, false);
public static final Index REWARD_POOL_ID_IDX = Internal.createIndex(DSL.name("reward_pool_id_idx"), Reward.REWARD, new OrderField[] { Reward.REWARD.POOL_ID }, false);
@@ -204,18 +186,14 @@ public class Indexes {
public static final Index SCRIPT_HASH_UINDEX = Internal.createIndex(DSL.name("script_hash_uindex"), Script.SCRIPT, new OrderField[] { Script.SCRIPT.HASH }, true);
public static final Index SLOT_LEADER_HASH_INDEX = Internal.createIndex(DSL.name("slot_leader_hash_index"), SlotLeader.SLOT_LEADER, new OrderField[] { SlotLeader.SLOT_LEADER.HASH }, false);
public static final Index STAKE_ADDRESS_BALANCE_IDX = Internal.createIndex(DSL.name("stake_address_balance_idx"), StakeAddress.STAKE_ADDRESS, new OrderField[] { StakeAddress.STAKE_ADDRESS.BALANCE }, false);
- public static final Index STAKE_KEY_REPORT_HISTORY_REPORT_ID_IDX = Internal.createIndex(DSL.name("stake_key_report_history_report_id_idx"), StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY, new OrderField[] { StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY.REPORT_ID }, false);
- public static final Index STAKE_KEY_REPORT_HISTORY_STAKE_KEY_IDX = Internal.createIndex(DSL.name("stake_key_report_history_stake_key_idx"), StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY, new OrderField[] { StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY.STAKE_KEY }, false);
- public static final Index STAKE_KEY_REPORT_HISTORY_STAKE_KEY_REPORT_ID_IDX = Internal.createIndex(DSL.name("stake_key_report_history_stake_key_report_id_idx"), StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY, new OrderField[] { StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY.STAKE_KEY, StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY.REPORT_ID }, false);
- public static final Index STAKE_TX_BALANCE_STAKE_ADDRESS_ID_IDX = Internal.createIndex(DSL.name("stake_tx_balance_stake_address_id_idx"), StakeTxBalance.STAKE_TX_BALANCE, new OrderField[] { StakeTxBalance.STAKE_TX_BALANCE.STAKE_ADDRESS_ID }, false);
- public static final Index STAKE_TX_BALANCE_TIME_IDX = Internal.createIndex(DSL.name("stake_tx_balance_time_idx"), StakeTxBalance.STAKE_TX_BALANCE, new OrderField[] { StakeTxBalance.STAKE_TX_BALANCE.TIME }, false);
- public static final Index STAKE_TX_BALANCE_TX_ID_IDX = Internal.createIndex(DSL.name("stake_tx_balance_tx_id_idx"), StakeTxBalance.STAKE_TX_BALANCE, new OrderField[] { StakeTxBalance.STAKE_TX_BALANCE.TX_ID }, false);
public static final Index TX__TX_METADATA_HASH_IDX = Internal.createIndex(DSL.name("tx__tx_metadata_hash_idx"), Tx.TX, new OrderField[] { Tx.TX.TX_METADATA_HASH_ID }, false);
public static final Index TX_BLOCK_ID_ID_IDX = Internal.createIndex(DSL.name("tx_block_id_id_idx"), Tx.TX, new OrderField[] { Tx.TX.BLOCK_ID, Tx.TX.ID }, false);
+ public static final Index TX_BOOTSTRAP_WITNESSES_TX_ID_IDX = Internal.createIndex(DSL.name("tx_bootstrap_witnesses_tx_id_idx"), TxBootstrapWitnesses.TX_BOOTSTRAP_WITNESSES, new OrderField[] { TxBootstrapWitnesses.TX_BOOTSTRAP_WITNESSES.TX_ID }, false);
public static final Index TX_COUNT_IDX = Internal.createIndex(DSL.name("tx_count_idx"), Block.BLOCK, new OrderField[] { Block.BLOCK.TX_COUNT }, false);
public static final Index TX_FEE_IDX = Internal.createIndex(DSL.name("tx_fee_idx"), Tx.TX, new OrderField[] { Tx.TX.FEE }, false);
public static final Index TX_METADATA_HASH_IDX = Internal.createIndex(DSL.name("tx_metadata_hash_idx"), TxMetadataHash.TX_METADATA_HASH, new OrderField[] { TxMetadataHash.TX_METADATA_HASH.HASH }, false);
public static final Index TX_OUT_INLINE_DATUM_ID_IDX = Internal.createIndex(DSL.name("tx_out_inline_datum_id_idx"), TxOut.TX_OUT, new OrderField[] { TxOut.TX_OUT.INLINE_DATUM_ID }, false);
public static final Index TX_OUT_REFERENCE_SCRIPT_ID_IDX = Internal.createIndex(DSL.name("tx_out_reference_script_id_idx"), TxOut.TX_OUT, new OrderField[] { TxOut.TX_OUT.REFERENCE_SCRIPT_ID }, false);
public static final Index TX_OUT_SUM_IDX = Internal.createIndex(DSL.name("tx_out_sum_idx"), Tx.TX, new OrderField[] { Tx.TX.OUT_SUM }, false);
+ public static final Index TX_WITNESSES_TX_ID_IDX = Internal.createIndex(DSL.name("tx_witnesses_tx_id_idx"), TxWitnesses.TX_WITNESSES, new OrderField[] { TxWitnesses.TX_WITNESSES.TX_ID }, false);
}
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/Keys.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/Keys.java
index 3f6bff9f..dffd2965 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/Keys.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/Keys.java
@@ -9,12 +9,9 @@
import org.cardanofoundation.ledgersync.jooq.tables.AddressToken;
import org.cardanofoundation.ledgersync.jooq.tables.AddressTokenBalance;
import org.cardanofoundation.ledgersync.jooq.tables.AddressTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.AggAddressToken;
-import org.cardanofoundation.ledgersync.jooq.tables.AggAddressTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.AggPoolInfo;
-import org.cardanofoundation.ledgersync.jooq.tables.AssetMetadata;
import org.cardanofoundation.ledgersync.jooq.tables.Block;
import org.cardanofoundation.ledgersync.jooq.tables.CostModel;
+import org.cardanofoundation.ledgersync.jooq.tables.Cursor_;
import org.cardanofoundation.ledgersync.jooq.tables.Datum;
import org.cardanofoundation.ledgersync.jooq.tables.Delegation;
import org.cardanofoundation.ledgersync.jooq.tables.DelistedPool;
@@ -22,6 +19,7 @@
import org.cardanofoundation.ledgersync.jooq.tables.EpochParam;
import org.cardanofoundation.ledgersync.jooq.tables.EpochStake;
import org.cardanofoundation.ledgersync.jooq.tables.EpochSyncTime;
+import org.cardanofoundation.ledgersync.jooq.tables.Era;
import org.cardanofoundation.ledgersync.jooq.tables.ExtraKeyWitness;
import org.cardanofoundation.ledgersync.jooq.tables.FailedTxOut;
import org.cardanofoundation.ledgersync.jooq.tables.MaTxMint;
@@ -35,14 +33,12 @@
import org.cardanofoundation.ledgersync.jooq.tables.PoolOfflineFetchError;
import org.cardanofoundation.ledgersync.jooq.tables.PoolOwner;
import org.cardanofoundation.ledgersync.jooq.tables.PoolRelay;
-import org.cardanofoundation.ledgersync.jooq.tables.PoolReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.PoolRetire;
import org.cardanofoundation.ledgersync.jooq.tables.PoolUpdate;
import org.cardanofoundation.ledgersync.jooq.tables.PotTransfer;
import org.cardanofoundation.ledgersync.jooq.tables.Redeemer;
import org.cardanofoundation.ledgersync.jooq.tables.RedeemerData;
import org.cardanofoundation.ledgersync.jooq.tables.ReferenceTxIn;
-import org.cardanofoundation.ledgersync.jooq.tables.ReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.Reserve;
import org.cardanofoundation.ledgersync.jooq.tables.ReservedPoolTicker;
import org.cardanofoundation.ledgersync.jooq.tables.Reward;
@@ -52,18 +48,16 @@
import org.cardanofoundation.ledgersync.jooq.tables.SlotLeader;
import org.cardanofoundation.ledgersync.jooq.tables.StakeAddress;
import org.cardanofoundation.ledgersync.jooq.tables.StakeDeregistration;
-import org.cardanofoundation.ledgersync.jooq.tables.StakeKeyReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.StakeRegistration;
-import org.cardanofoundation.ledgersync.jooq.tables.StakeTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.TokenInfo;
-import org.cardanofoundation.ledgersync.jooq.tables.TokenInfoCheckpoint;
import org.cardanofoundation.ledgersync.jooq.tables.Treasury;
import org.cardanofoundation.ledgersync.jooq.tables.Tx;
+import org.cardanofoundation.ledgersync.jooq.tables.TxBootstrapWitnesses;
import org.cardanofoundation.ledgersync.jooq.tables.TxChart;
import org.cardanofoundation.ledgersync.jooq.tables.TxIn;
import org.cardanofoundation.ledgersync.jooq.tables.TxMetadata;
import org.cardanofoundation.ledgersync.jooq.tables.TxMetadataHash;
import org.cardanofoundation.ledgersync.jooq.tables.TxOut;
+import org.cardanofoundation.ledgersync.jooq.tables.TxWitnesses;
import org.cardanofoundation.ledgersync.jooq.tables.UnconsumeTxIn;
import org.cardanofoundation.ledgersync.jooq.tables.Withdrawal;
import org.cardanofoundation.ledgersync.jooq.tables.records.AdaPotsRecord;
@@ -71,12 +65,9 @@
import org.cardanofoundation.ledgersync.jooq.tables.records.AddressTokenBalanceRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.AddressTokenRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.AddressTxBalanceRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.AggAddressTokenRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.AggAddressTxBalanceRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.AggPoolInfoRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.AssetMetadataRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.BlockRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.CostModelRecord;
+import org.cardanofoundation.ledgersync.jooq.tables.records.Cursor_Record;
import org.cardanofoundation.ledgersync.jooq.tables.records.DatumRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.DelegationRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.DelistedPoolRecord;
@@ -84,6 +75,7 @@
import org.cardanofoundation.ledgersync.jooq.tables.records.EpochRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.EpochStakeRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.EpochSyncTimeRecord;
+import org.cardanofoundation.ledgersync.jooq.tables.records.EraRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.ExtraKeyWitnessRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.FailedTxOutRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.MaTxMintRecord;
@@ -97,14 +89,12 @@
import org.cardanofoundation.ledgersync.jooq.tables.records.PoolOfflineFetchErrorRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.PoolOwnerRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.PoolRelayRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.PoolReportHistoryRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.PoolRetireRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.PoolUpdateRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.PotTransferRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.RedeemerDataRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.RedeemerRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.ReferenceTxInRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.ReportHistoryRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.ReserveRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.ReservedPoolTickerRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.RewardRecord;
@@ -114,18 +104,16 @@
import org.cardanofoundation.ledgersync.jooq.tables.records.SlotLeaderRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.StakeAddressRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.StakeDeregistrationRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.StakeKeyReportHistoryRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.StakeRegistrationRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.StakeTxBalanceRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.TokenInfoCheckpointRecord;
-import org.cardanofoundation.ledgersync.jooq.tables.records.TokenInfoRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.TreasuryRecord;
+import org.cardanofoundation.ledgersync.jooq.tables.records.TxBootstrapWitnessesRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.TxChartRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.TxInRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.TxMetadataHashRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.TxMetadataRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.TxOutRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.TxRecord;
+import org.cardanofoundation.ledgersync.jooq.tables.records.TxWitnessesRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.UnconsumeTxInRecord;
import org.cardanofoundation.ledgersync.jooq.tables.records.WithdrawalRecord;
import org.jooq.TableField;
@@ -152,14 +140,11 @@ public class Keys {
public static final UniqueKey ADDRESS_TOKEN_PKEY = Internal.createUniqueKey(AddressToken.ADDRESS_TOKEN, DSL.name("address_token_pkey"), new TableField[] { AddressToken.ADDRESS_TOKEN.ID }, true);
public static final UniqueKey ADDRESS_TOKEN_BALANCE_PKEY = Internal.createUniqueKey(AddressTokenBalance.ADDRESS_TOKEN_BALANCE, DSL.name("address_token_balance_pkey"), new TableField[] { AddressTokenBalance.ADDRESS_TOKEN_BALANCE.ID }, true);
public static final UniqueKey ADDRESS_TX_BALANCE_PKEY = Internal.createUniqueKey(AddressTxBalance.ADDRESS_TX_BALANCE, DSL.name("address_tx_balance_pkey"), new TableField[] { AddressTxBalance.ADDRESS_TX_BALANCE.ID }, true);
- public static final UniqueKey AGG_ADDRESS_TOKEN_PKEY = Internal.createUniqueKey(AggAddressToken.AGG_ADDRESS_TOKEN, DSL.name("agg_address_token_pkey"), new TableField[] { AggAddressToken.AGG_ADDRESS_TOKEN.ID }, true);
- public static final UniqueKey AGG_ADDRESS_TX_BALANCE_PKEY = Internal.createUniqueKey(AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE, DSL.name("agg_address_tx_balance_pkey"), new TableField[] { AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE.ID }, true);
- public static final UniqueKey AGG_POOL_INFO_PKEY = Internal.createUniqueKey(AggPoolInfo.AGG_POOL_INFO, DSL.name("agg_pool_info_pkey"), new TableField[] { AggPoolInfo.AGG_POOL_INFO.ID }, true);
- public static final UniqueKey ASSET_METADATA_PKEY = Internal.createUniqueKey(AssetMetadata.ASSET_METADATA, DSL.name("asset_metadata_pkey"), new TableField[] { AssetMetadata.ASSET_METADATA.ID }, true);
public static final UniqueKey BLOCK_PKEY = Internal.createUniqueKey(Block.BLOCK, DSL.name("block_pkey"), new TableField[] { Block.BLOCK.ID }, true);
public static final UniqueKey UNIQUE_BLOCK = Internal.createUniqueKey(Block.BLOCK, DSL.name("unique_block"), new TableField[] { Block.BLOCK.HASH }, true);
public static final UniqueKey COST_MODEL_PKEY = Internal.createUniqueKey(CostModel.COST_MODEL, DSL.name("cost_model_pkey"), new TableField[] { CostModel.COST_MODEL.ID }, true);
public static final UniqueKey UNIQUE_COST_MODEL = Internal.createUniqueKey(CostModel.COST_MODEL, DSL.name("unique_cost_model"), new TableField[] { CostModel.COST_MODEL.HASH }, true);
+ public static final UniqueKey CURSOR__PKEY = Internal.createUniqueKey(Cursor_.CURSOR_, DSL.name("cursor__pkey"), new TableField[] { Cursor_.CURSOR_.ID, Cursor_.CURSOR_.BLOCK_HASH }, true);
public static final UniqueKey DATUM_PKEY = Internal.createUniqueKey(Datum.DATUM, DSL.name("datum_pkey"), new TableField[] { Datum.DATUM.ID }, true);
public static final UniqueKey UNIQUE_DATUM = Internal.createUniqueKey(Datum.DATUM, DSL.name("unique_datum"), new TableField[] { Datum.DATUM.HASH }, true);
public static final UniqueKey DELEGATION_PKEY = Internal.createUniqueKey(Delegation.DELEGATION, DSL.name("delegation_pkey"), new TableField[] { Delegation.DELEGATION.ID }, true);
@@ -174,6 +159,7 @@ public class Keys {
public static final UniqueKey UNIQUE_STAKE = Internal.createUniqueKey(EpochStake.EPOCH_STAKE, DSL.name("unique_stake"), new TableField[] { EpochStake.EPOCH_STAKE.EPOCH_NO, EpochStake.EPOCH_STAKE.ADDR_ID, EpochStake.EPOCH_STAKE.POOL_ID }, true);
public static final UniqueKey EPOCH_SYNC_TIME_PKEY = Internal.createUniqueKey(EpochSyncTime.EPOCH_SYNC_TIME, DSL.name("epoch_sync_time_pkey"), new TableField[] { EpochSyncTime.EPOCH_SYNC_TIME.ID }, true);
public static final UniqueKey UNIQUE_EPOCH_SYNC_TIME = Internal.createUniqueKey(EpochSyncTime.EPOCH_SYNC_TIME, DSL.name("unique_epoch_sync_time"), new TableField[] { EpochSyncTime.EPOCH_SYNC_TIME.NO }, true);
+ public static final UniqueKey ERA_PKEY = Internal.createUniqueKey(Era.ERA, DSL.name("era_pkey"), new TableField[] { Era.ERA.ERA_ }, true);
public static final UniqueKey EXTRA_KEY_WITNESS_PKEY = Internal.createUniqueKey(ExtraKeyWitness.EXTRA_KEY_WITNESS, DSL.name("extra_key_witness_pkey"), new TableField[] { ExtraKeyWitness.EXTRA_KEY_WITNESS.ID }, true);
public static final UniqueKey UNIQUE_WITNESS = Internal.createUniqueKey(ExtraKeyWitness.EXTRA_KEY_WITNESS, DSL.name("unique_witness"), new TableField[] { ExtraKeyWitness.EXTRA_KEY_WITNESS.HASH }, true);
public static final UniqueKey FAILED_TX_OUT_PKEY = Internal.createUniqueKey(FailedTxOut.FAILED_TX_OUT, DSL.name("failed_tx_out_pkey"), new TableField[] { FailedTxOut.FAILED_TX_OUT.ID }, true);
@@ -198,7 +184,6 @@ public class Keys {
public static final UniqueKey UNIQUE_POOL_OWNER = Internal.createUniqueKey(PoolOwner.POOL_OWNER, DSL.name("unique_pool_owner"), new TableField[] { PoolOwner.POOL_OWNER.ADDR_ID, PoolOwner.POOL_OWNER.POOL_UPDATE_ID }, true);
public static final UniqueKey POOL_RELAY_PKEY = Internal.createUniqueKey(PoolRelay.POOL_RELAY, DSL.name("pool_relay_pkey"), new TableField[] { PoolRelay.POOL_RELAY.ID }, true);
public static final UniqueKey UNIQUE_POOL_RELAY = Internal.createUniqueKey(PoolRelay.POOL_RELAY, DSL.name("unique_pool_relay"), new TableField[] { PoolRelay.POOL_RELAY.UPDATE_ID, PoolRelay.POOL_RELAY.IPV4, PoolRelay.POOL_RELAY.IPV6, PoolRelay.POOL_RELAY.DNS_NAME }, true);
- public static final UniqueKey POOL_REPORT_HISTORY_PKEY = Internal.createUniqueKey(PoolReportHistory.POOL_REPORT_HISTORY, DSL.name("pool_report_history_pkey"), new TableField[] { PoolReportHistory.POOL_REPORT_HISTORY.ID }, true);
public static final UniqueKey POOL_RETIRE_PKEY = Internal.createUniqueKey(PoolRetire.POOL_RETIRE, DSL.name("pool_retire_pkey"), new TableField[] { PoolRetire.POOL_RETIRE.ID }, true);
public static final UniqueKey UNIQUE_POOL_RETIRING = Internal.createUniqueKey(PoolRetire.POOL_RETIRE, DSL.name("unique_pool_retiring"), new TableField[] { PoolRetire.POOL_RETIRE.ANNOUNCED_TX_ID, PoolRetire.POOL_RETIRE.CERT_INDEX }, true);
public static final UniqueKey POOL_UPDATE_PKEY = Internal.createUniqueKey(PoolUpdate.POOL_UPDATE, DSL.name("pool_update_pkey"), new TableField[] { PoolUpdate.POOL_UPDATE.ID }, true);
@@ -211,8 +196,6 @@ public class Keys {
public static final UniqueKey UNIQUE_REDEEMER_DATA = Internal.createUniqueKey(RedeemerData.REDEEMER_DATA, DSL.name("unique_redeemer_data"), new TableField[] { RedeemerData.REDEEMER_DATA.HASH }, true);
public static final UniqueKey REFERENCE_TX_IN_PKEY = Internal.createUniqueKey(ReferenceTxIn.REFERENCE_TX_IN, DSL.name("reference_tx_in_pkey"), new TableField[] { ReferenceTxIn.REFERENCE_TX_IN.ID }, true);
public static final UniqueKey UNIQUE_REF_TXIN = Internal.createUniqueKey(ReferenceTxIn.REFERENCE_TX_IN, DSL.name("unique_ref_txin"), new TableField[] { ReferenceTxIn.REFERENCE_TX_IN.TX_IN_ID, ReferenceTxIn.REFERENCE_TX_IN.TX_OUT_ID, ReferenceTxIn.REFERENCE_TX_IN.TX_OUT_INDEX }, true);
- public static final UniqueKey REPORT_HISTORY_PKEY = Internal.createUniqueKey(ReportHistory.REPORT_HISTORY, DSL.name("report_history_pkey"), new TableField[] { ReportHistory.REPORT_HISTORY.ID }, true);
- public static final UniqueKey STORAGE_KEY_UNIQUE = Internal.createUniqueKey(ReportHistory.REPORT_HISTORY, DSL.name("storage_key_unique"), new TableField[] { ReportHistory.REPORT_HISTORY.STORAGE_KEY }, true);
public static final UniqueKey RESERVE_PKEY = Internal.createUniqueKey(Reserve.RESERVE, DSL.name("reserve_pkey"), new TableField[] { Reserve.RESERVE.ID }, true);
public static final UniqueKey UNIQUE_RESERVES = Internal.createUniqueKey(Reserve.RESERVE, DSL.name("unique_reserves"), new TableField[] { Reserve.RESERVE.ADDR_ID, Reserve.RESERVE.TX_ID, Reserve.RESERVE.CERT_INDEX }, true);
public static final UniqueKey RESERVED_POOL_TICKER_PKEY = Internal.createUniqueKey(ReservedPoolTicker.RESERVED_POOL_TICKER, DSL.name("reserved_pool_ticker_pkey"), new TableField[] { ReservedPoolTicker.RESERVED_POOL_TICKER.ID }, true);
@@ -228,17 +211,13 @@ public class Keys {
public static final UniqueKey UNIQUE_STAKE_ADDRESS = Internal.createUniqueKey(StakeAddress.STAKE_ADDRESS, DSL.name("unique_stake_address"), new TableField[] { StakeAddress.STAKE_ADDRESS.HASH_RAW }, true);
public static final UniqueKey STAKE_DEREGISTRATION_PKEY = Internal.createUniqueKey(StakeDeregistration.STAKE_DEREGISTRATION, DSL.name("stake_deregistration_pkey"), new TableField[] { StakeDeregistration.STAKE_DEREGISTRATION.ID }, true);
public static final UniqueKey UNIQUE_STAKE_DEREGISTRATION = Internal.createUniqueKey(StakeDeregistration.STAKE_DEREGISTRATION, DSL.name("unique_stake_deregistration"), new TableField[] { StakeDeregistration.STAKE_DEREGISTRATION.TX_ID, StakeDeregistration.STAKE_DEREGISTRATION.CERT_INDEX }, true);
- public static final UniqueKey STAKE_KEY_REPORT_HISTORY_PKEY = Internal.createUniqueKey(StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY, DSL.name("stake_key_report_history_pkey"), new TableField[] { StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY.ID }, true);
public static final UniqueKey STAKE_REGISTRATION_PKEY = Internal.createUniqueKey(StakeRegistration.STAKE_REGISTRATION, DSL.name("stake_registration_pkey"), new TableField[] { StakeRegistration.STAKE_REGISTRATION.ID }, true);
public static final UniqueKey UNIQUE_STAKE_REGISTRATION = Internal.createUniqueKey(StakeRegistration.STAKE_REGISTRATION, DSL.name("unique_stake_registration"), new TableField[] { StakeRegistration.STAKE_REGISTRATION.TX_ID, StakeRegistration.STAKE_REGISTRATION.CERT_INDEX }, true);
- public static final UniqueKey STAKE_TX_BALANCE_PKEY = Internal.createUniqueKey(StakeTxBalance.STAKE_TX_BALANCE, DSL.name("stake_tx_balance_pkey"), new TableField[] { StakeTxBalance.STAKE_TX_BALANCE.ID }, true);
- public static final UniqueKey TOKEN_INFO_PKEY = Internal.createUniqueKey(TokenInfo.TOKEN_INFO, DSL.name("token_info_pkey"), new TableField[] { TokenInfo.TOKEN_INFO.ID }, true);
- public static final UniqueKey UNIQUE_TOKEN_INFO = Internal.createUniqueKey(TokenInfo.TOKEN_INFO, DSL.name("unique_token_info"), new TableField[] { TokenInfo.TOKEN_INFO.IDENT }, true);
- public static final UniqueKey BLOCK_TOKEN_INFO_PKEY = Internal.createUniqueKey(TokenInfoCheckpoint.TOKEN_INFO_CHECKPOINT, DSL.name("block_token_info_pkey"), new TableField[] { TokenInfoCheckpoint.TOKEN_INFO_CHECKPOINT.ID }, true);
public static final UniqueKey TREASURY_PKEY = Internal.createUniqueKey(Treasury.TREASURY, DSL.name("treasury_pkey"), new TableField[] { Treasury.TREASURY.ID }, true);
public static final UniqueKey UNIQUE_TREASURY = Internal.createUniqueKey(Treasury.TREASURY, DSL.name("unique_treasury"), new TableField[] { Treasury.TREASURY.ADDR_ID, Treasury.TREASURY.TX_ID, Treasury.TREASURY.CERT_INDEX }, true);
public static final UniqueKey TX_PKEY = Internal.createUniqueKey(Tx.TX, DSL.name("tx_pkey"), new TableField[] { Tx.TX.ID }, true);
public static final UniqueKey UNIQUE_TX = Internal.createUniqueKey(Tx.TX, DSL.name("unique_tx"), new TableField[] { Tx.TX.HASH }, true);
+ public static final UniqueKey TX_BOOTSTRAP_WITNESSES_PKEY = Internal.createUniqueKey(TxBootstrapWitnesses.TX_BOOTSTRAP_WITNESSES, DSL.name("tx_bootstrap_witnesses_pkey"), new TableField[] { TxBootstrapWitnesses.TX_BOOTSTRAP_WITNESSES.ID }, true);
public static final UniqueKey TX_CHART_PKEY = Internal.createUniqueKey(TxChart.TX_CHART, DSL.name("tx_chart_pkey"), new TableField[] { TxChart.TX_CHART.ID }, true);
public static final UniqueKey TX_IN_PKEY = Internal.createUniqueKey(TxIn.TX_IN, DSL.name("tx_in_pkey"), new TableField[] { TxIn.TX_IN.ID }, true);
public static final UniqueKey UNIQUE_TXIN = Internal.createUniqueKey(TxIn.TX_IN, DSL.name("unique_txin"), new TableField[] { TxIn.TX_IN.TX_OUT_ID, TxIn.TX_IN.TX_OUT_INDEX }, true);
@@ -247,6 +226,7 @@ public class Keys {
public static final UniqueKey TX_METADATA_HASH_PKEY = Internal.createUniqueKey(TxMetadataHash.TX_METADATA_HASH, DSL.name("tx_metadata_hash_pkey"), new TableField[] { TxMetadataHash.TX_METADATA_HASH.ID }, true);
public static final UniqueKey TX_OUT_PKEY = Internal.createUniqueKey(TxOut.TX_OUT, DSL.name("tx_out_pkey"), new TableField[] { TxOut.TX_OUT.ID }, true);
public static final UniqueKey UNIQUE_TXOUT = Internal.createUniqueKey(TxOut.TX_OUT, DSL.name("unique_txout"), new TableField[] { TxOut.TX_OUT.TX_ID, TxOut.TX_OUT.INDEX }, true);
+ public static final UniqueKey TX_WITNESSES_PKEY = Internal.createUniqueKey(TxWitnesses.TX_WITNESSES, DSL.name("tx_witnesses_pkey"), new TableField[] { TxWitnesses.TX_WITNESSES.ID }, true);
public static final UniqueKey UNCONSUME_TX_IN_PKEY = Internal.createUniqueKey(UnconsumeTxIn.UNCONSUME_TX_IN, DSL.name("unconsume_tx_in_pkey"), new TableField[] { UnconsumeTxIn.UNCONSUME_TX_IN.ID }, true);
public static final UniqueKey UNIQUE_COL_TXIN = Internal.createUniqueKey(UnconsumeTxIn.UNCONSUME_TX_IN, DSL.name("unique_col_txin"), new TableField[] { UnconsumeTxIn.UNCONSUME_TX_IN.TX_IN_ID, UnconsumeTxIn.UNCONSUME_TX_IN.TX_OUT_ID, UnconsumeTxIn.UNCONSUME_TX_IN.TX_OUT_INDEX }, true);
public static final UniqueKey WITHDRAWAL_PKEY = Internal.createUniqueKey(Withdrawal.WITHDRAWAL, DSL.name("withdrawal_pkey"), new TableField[] { Withdrawal.WITHDRAWAL.ID }, true);
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/Tables.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/Tables.java
index 13431d4d..0a03461d 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/Tables.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/Tables.java
@@ -9,12 +9,9 @@
import org.cardanofoundation.ledgersync.jooq.tables.AddressToken;
import org.cardanofoundation.ledgersync.jooq.tables.AddressTokenBalance;
import org.cardanofoundation.ledgersync.jooq.tables.AddressTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.AggAddressToken;
-import org.cardanofoundation.ledgersync.jooq.tables.AggAddressTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.AggPoolInfo;
-import org.cardanofoundation.ledgersync.jooq.tables.AssetMetadata;
import org.cardanofoundation.ledgersync.jooq.tables.Block;
import org.cardanofoundation.ledgersync.jooq.tables.CostModel;
+import org.cardanofoundation.ledgersync.jooq.tables.Cursor_;
import org.cardanofoundation.ledgersync.jooq.tables.Datum;
import org.cardanofoundation.ledgersync.jooq.tables.Delegation;
import org.cardanofoundation.ledgersync.jooq.tables.DelistedPool;
@@ -22,6 +19,7 @@
import org.cardanofoundation.ledgersync.jooq.tables.EpochParam;
import org.cardanofoundation.ledgersync.jooq.tables.EpochStake;
import org.cardanofoundation.ledgersync.jooq.tables.EpochSyncTime;
+import org.cardanofoundation.ledgersync.jooq.tables.Era;
import org.cardanofoundation.ledgersync.jooq.tables.ExtraKeyWitness;
import org.cardanofoundation.ledgersync.jooq.tables.FailedTxOut;
import org.cardanofoundation.ledgersync.jooq.tables.MaTxMint;
@@ -35,14 +33,12 @@
import org.cardanofoundation.ledgersync.jooq.tables.PoolOfflineFetchError;
import org.cardanofoundation.ledgersync.jooq.tables.PoolOwner;
import org.cardanofoundation.ledgersync.jooq.tables.PoolRelay;
-import org.cardanofoundation.ledgersync.jooq.tables.PoolReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.PoolRetire;
import org.cardanofoundation.ledgersync.jooq.tables.PoolUpdate;
import org.cardanofoundation.ledgersync.jooq.tables.PotTransfer;
import org.cardanofoundation.ledgersync.jooq.tables.Redeemer;
import org.cardanofoundation.ledgersync.jooq.tables.RedeemerData;
import org.cardanofoundation.ledgersync.jooq.tables.ReferenceTxIn;
-import org.cardanofoundation.ledgersync.jooq.tables.ReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.Reserve;
import org.cardanofoundation.ledgersync.jooq.tables.ReservedPoolTicker;
import org.cardanofoundation.ledgersync.jooq.tables.Reward;
@@ -52,18 +48,16 @@
import org.cardanofoundation.ledgersync.jooq.tables.SlotLeader;
import org.cardanofoundation.ledgersync.jooq.tables.StakeAddress;
import org.cardanofoundation.ledgersync.jooq.tables.StakeDeregistration;
-import org.cardanofoundation.ledgersync.jooq.tables.StakeKeyReportHistory;
import org.cardanofoundation.ledgersync.jooq.tables.StakeRegistration;
-import org.cardanofoundation.ledgersync.jooq.tables.StakeTxBalance;
-import org.cardanofoundation.ledgersync.jooq.tables.TokenInfo;
-import org.cardanofoundation.ledgersync.jooq.tables.TokenInfoCheckpoint;
import org.cardanofoundation.ledgersync.jooq.tables.Treasury;
import org.cardanofoundation.ledgersync.jooq.tables.Tx;
+import org.cardanofoundation.ledgersync.jooq.tables.TxBootstrapWitnesses;
import org.cardanofoundation.ledgersync.jooq.tables.TxChart;
import org.cardanofoundation.ledgersync.jooq.tables.TxIn;
import org.cardanofoundation.ledgersync.jooq.tables.TxMetadata;
import org.cardanofoundation.ledgersync.jooq.tables.TxMetadataHash;
import org.cardanofoundation.ledgersync.jooq.tables.TxOut;
+import org.cardanofoundation.ledgersync.jooq.tables.TxWitnesses;
import org.cardanofoundation.ledgersync.jooq.tables.UnconsumeTxIn;
import org.cardanofoundation.ledgersync.jooq.tables.Withdrawal;
@@ -99,26 +93,6 @@ public class Tables {
*/
public static final AddressTxBalance ADDRESS_TX_BALANCE = AddressTxBalance.ADDRESS_TX_BALANCE;
- /**
- * The table agg_address_token
.
- */
- public static final AggAddressToken AGG_ADDRESS_TOKEN = AggAddressToken.AGG_ADDRESS_TOKEN;
-
- /**
- * The table agg_address_tx_balance
.
- */
- public static final AggAddressTxBalance AGG_ADDRESS_TX_BALANCE = AggAddressTxBalance.AGG_ADDRESS_TX_BALANCE;
-
- /**
- * The table agg_pool_info
.
- */
- public static final AggPoolInfo AGG_POOL_INFO = AggPoolInfo.AGG_POOL_INFO;
-
- /**
- * The table asset_metadata
.
- */
- public static final AssetMetadata ASSET_METADATA = AssetMetadata.ASSET_METADATA;
-
/**
* The table block
.
*/
@@ -129,6 +103,11 @@ public class Tables {
*/
public static final CostModel COST_MODEL = CostModel.COST_MODEL;
+ /**
+ * The table cursor_
.
+ */
+ public static final Cursor_ CURSOR_ = Cursor_.CURSOR_;
+
/**
* The table datum
.
*/
@@ -164,6 +143,11 @@ public class Tables {
*/
public static final EpochSyncTime EPOCH_SYNC_TIME = EpochSyncTime.EPOCH_SYNC_TIME;
+ /**
+ * The table era
.
+ */
+ public static final Era ERA = Era.ERA;
+
/**
* The table extra_key_witness
.
*/
@@ -229,11 +213,6 @@ public class Tables {
*/
public static final PoolRelay POOL_RELAY = PoolRelay.POOL_RELAY;
- /**
- * The table pool_report_history
.
- */
- public static final PoolReportHistory POOL_REPORT_HISTORY = PoolReportHistory.POOL_REPORT_HISTORY;
-
/**
* The table pool_retire
.
*/
@@ -264,11 +243,6 @@ public class Tables {
*/
public static final ReferenceTxIn REFERENCE_TX_IN = ReferenceTxIn.REFERENCE_TX_IN;
- /**
- * The table report_history
.
- */
- public static final ReportHistory REPORT_HISTORY = ReportHistory.REPORT_HISTORY;
-
/**
* The table reserve
.
*/
@@ -314,31 +288,11 @@ public class Tables {
*/
public static final StakeDeregistration STAKE_DEREGISTRATION = StakeDeregistration.STAKE_DEREGISTRATION;
- /**
- * The table stake_key_report_history
.
- */
- public static final StakeKeyReportHistory STAKE_KEY_REPORT_HISTORY = StakeKeyReportHistory.STAKE_KEY_REPORT_HISTORY;
-
/**
* The table stake_registration
.
*/
public static final StakeRegistration STAKE_REGISTRATION = StakeRegistration.STAKE_REGISTRATION;
- /**
- * The table stake_tx_balance
.
- */
- public static final StakeTxBalance STAKE_TX_BALANCE = StakeTxBalance.STAKE_TX_BALANCE;
-
- /**
- * The table token_info
.
- */
- public static final TokenInfo TOKEN_INFO = TokenInfo.TOKEN_INFO;
-
- /**
- * The table token_info_checkpoint
.
- */
- public static final TokenInfoCheckpoint TOKEN_INFO_CHECKPOINT = TokenInfoCheckpoint.TOKEN_INFO_CHECKPOINT;
-
/**
* The table treasury
.
*/
@@ -349,6 +303,11 @@ public class Tables {
*/
public static final Tx TX = Tx.TX;
+ /**
+ * The table tx_bootstrap_witnesses
.
+ */
+ public static final TxBootstrapWitnesses TX_BOOTSTRAP_WITNESSES = TxBootstrapWitnesses.TX_BOOTSTRAP_WITNESSES;
+
/**
* The table tx_chart
.
*/
@@ -374,6 +333,11 @@ public class Tables {
*/
public static final TxOut TX_OUT = TxOut.TX_OUT;
+ /**
+ * The table tx_witnesses
.
+ */
+ public static final TxWitnesses TX_WITNESSES = TxWitnesses.TX_WITNESSES;
+
/**
* The table unconsume_tx_in
.
*/
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressToken.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressToken.java
index 1c18243e..2c849ff9 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressToken.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressToken.java
@@ -119,7 +119,7 @@ public Schema getSchema() {
@Override
public List getIndexes() {
- return Arrays.asList(Indexes.ADDRESS_TOKEN_IDENT_STAKE_TX_ID_BALANCE_IDX, Indexes.ADDRESS_TOKEN_IDENT_TX_ID_BALANCE_IDX, Indexes.IDX_ADDRESS_TOKEN_ADDRESS_ID, Indexes.IDX_ADDRESS_TOKEN_IDENT, Indexes.IDX_ADDRESS_TOKEN_TX_ID);
+ return Arrays.asList(Indexes.ADDRESS_TOKEN_IDENT_STAKE_TX_ID_BALANCE_IDX, Indexes.IDX_ADDRESS_TOKEN_ADDRESS_ID, Indexes.IDX_ADDRESS_TOKEN_IDENT, Indexes.IDX_ADDRESS_TOKEN_TX_ID);
}
@Override
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressTokenBalance.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressTokenBalance.java
index 4c4fb595..4cb1b56a 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressTokenBalance.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressTokenBalance.java
@@ -119,7 +119,7 @@ public Schema getSchema() {
@Override
public List getIndexes() {
- return Arrays.asList(Indexes.ADDRESS_TOKEN_BALANCE_IDENT_STAKE_ADDRESS_ID_BALANCE_IDX, Indexes.ADDRESS_TOKEN_BALANCE_STAKE_ADDRESS_ID_IDX, Indexes.IDX_ADDRESS_TOKEN_BALANCE_ADDRESS_ID, Indexes.IDX_ADDRESS_TOKEN_BALANCE_ADDRESS_ID_IDENT, Indexes.IDX_ADDRESS_TOKEN_BALANCE_IDENT, Indexes.IDX_ADDRESS_TOKEN_BALANCE_IDENT_ADDRESS_ID);
+ return Arrays.asList(Indexes.ADDRESS_TOKEN_BALANCE_IDENT_STAKE_ADDRESS_ID_BALANCE_IDX, Indexes.IDX_ADDRESS_TOKEN_BALANCE_ADDRESS_ID, Indexes.IDX_ADDRESS_TOKEN_BALANCE_ADDRESS_ID_IDENT, Indexes.IDX_ADDRESS_TOKEN_BALANCE_IDENT, Indexes.IDX_ADDRESS_TOKEN_BALANCE_IDENT_ADDRESS_ID, Indexes.IDX_ADDRESS_TOKEN_BALANCE_STAKE_ADDRESS_ID);
}
@Override
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressTxBalance.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressTxBalance.java
index d5d10597..357a32a9 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressTxBalance.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AddressTxBalance.java
@@ -125,7 +125,7 @@ public Schema getSchema() {
@Override
public List getIndexes() {
- return Arrays.asList(Indexes.ADDRESS_TX_BALANCE_ADDRESS_ID_TIME_BALANCE_INDEX, Indexes.ADDRESS_TX_BALANCE_STAKE_ADDRESS_ID_IDX, Indexes.ADDRESS_TX_BALANCE_STAKE_ADDRESS_ID_TX_ID_BALANCE_IDX, Indexes.ADDRESS_TX_BALANCE_TX_ID_IDX, Indexes.IDX_ADDRESS_TX_BALANCE_ADDRESS_ID, Indexes.IDX_ADDRESS_TX_BALANCE_TIME, Indexes.IDX_ADDRESS_TX_BALANCE_TX_ID);
+ return Arrays.asList(Indexes.ADDRESS_TX_BALANCE_ADDRESS_ID_TIME_BALANCE_INDEX, Indexes.ADDRESS_TX_BALANCE_STAKE_ADDRESS_ID_TX_ID_BALANCE_IDX, Indexes.ADDRESS_TX_BALANCE_TX_ID_IDX, Indexes.IDX_ADDRESS_TX_BALANCE_ADDRESS_ID, Indexes.IDX_ADDRESS_TX_BALANCE_STAKE_ADDRESS_ID, Indexes.IDX_ADDRESS_TX_BALANCE_TIME, Indexes.IDX_ADDRESS_TX_BALANCE_TX_ID);
}
@Override
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AggAddressToken.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AggAddressToken.java
deleted file mode 100644
index dca3f26e..00000000
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AggAddressToken.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package org.cardanofoundation.ledgersync.jooq.tables;
-
-
-import java.math.BigInteger;
-import java.time.LocalDate;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.cardanofoundation.ledgersync.jooq.DefaultSchema;
-import org.cardanofoundation.ledgersync.jooq.Indexes;
-import org.cardanofoundation.ledgersync.jooq.Keys;
-import org.cardanofoundation.ledgersync.jooq.tables.records.AggAddressTokenRecord;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function4;
-import org.jooq.Identity;
-import org.jooq.Index;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row4;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class AggAddressToken extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of agg_address_token
- */
- public static final AggAddressToken AGG_ADDRESS_TOKEN = new AggAddressToken();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return AggAddressTokenRecord.class;
- }
-
- /**
- * The column agg_address_token.id
.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
-
- /**
- * The column agg_address_token.balance
.
- */
- public final TableField BALANCE = createField(DSL.name("balance"), SQLDataType.DECIMAL_INTEGER(39).nullable(false), this, "");
-
- /**
- * The column agg_address_token.ident
.
- */
- public final TableField IDENT = createField(DSL.name("ident"), SQLDataType.BIGINT.nullable(false), this, "");
-
- /**
- * The column agg_address_token.day
.
- */
- public final TableField DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE, this, "");
-
- private AggAddressToken(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private AggAddressToken(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased agg_address_token
table reference
- */
- public AggAddressToken(String alias) {
- this(DSL.name(alias), AGG_ADDRESS_TOKEN);
- }
-
- /**
- * Create an aliased agg_address_token
table reference
- */
- public AggAddressToken(Name alias) {
- this(alias, AGG_ADDRESS_TOKEN);
- }
-
- /**
- * Create a agg_address_token
table reference
- */
- public AggAddressToken() {
- this(DSL.name("agg_address_token"), null);
- }
-
- public AggAddressToken(Table child, ForeignKey key) {
- super(child, key, AGG_ADDRESS_TOKEN);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : DefaultSchema.DEFAULT_SCHEMA;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.AGG_ADDRESS_TOKEN_DAY_IDX, Indexes.AGG_ADDRESS_TOKEN_IDENT_DAY_BALANCE_IDX);
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.AGG_ADDRESS_TOKEN_PKEY;
- }
-
- @Override
- public AggAddressToken as(String alias) {
- return new AggAddressToken(DSL.name(alias), this);
- }
-
- @Override
- public AggAddressToken as(Name alias) {
- return new AggAddressToken(alias, this);
- }
-
- @Override
- public AggAddressToken as(Table> alias) {
- return new AggAddressToken(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AggAddressToken rename(String name) {
- return new AggAddressToken(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AggAddressToken rename(Name name) {
- return new AggAddressToken(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AggAddressToken rename(Table> name) {
- return new AggAddressToken(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row4 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row4 fieldsRow() {
- return (Row4) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function4 super Long, ? super BigInteger, ? super Long, ? super LocalDate, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function4 super Long, ? super BigInteger, ? super Long, ? super LocalDate, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AggAddressTxBalance.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AggAddressTxBalance.java
deleted file mode 100644
index fd5657e3..00000000
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AggAddressTxBalance.java
+++ /dev/null
@@ -1,198 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package org.cardanofoundation.ledgersync.jooq.tables;
-
-
-import java.math.BigInteger;
-import java.time.LocalDate;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.cardanofoundation.ledgersync.jooq.DefaultSchema;
-import org.cardanofoundation.ledgersync.jooq.Indexes;
-import org.cardanofoundation.ledgersync.jooq.Keys;
-import org.cardanofoundation.ledgersync.jooq.tables.records.AggAddressTxBalanceRecord;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function5;
-import org.jooq.Identity;
-import org.jooq.Index;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row5;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class AggAddressTxBalance extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of agg_address_tx_balance
- */
- public static final AggAddressTxBalance AGG_ADDRESS_TX_BALANCE = new AggAddressTxBalance();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return AggAddressTxBalanceRecord.class;
- }
-
- /**
- * The column agg_address_tx_balance.id
.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
-
- /**
- * The column agg_address_tx_balance.stake_address_id
.
- */
- public final TableField STAKE_ADDRESS_ID = createField(DSL.name("stake_address_id"), SQLDataType.BIGINT, this, "");
-
- /**
- * The column agg_address_tx_balance.address_id
.
- */
- public final TableField ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.BIGINT.nullable(false), this, "");
-
- /**
- * The column agg_address_tx_balance.balance
.
- */
- public final TableField BALANCE = createField(DSL.name("balance"), SQLDataType.DECIMAL_INTEGER(39).nullable(false), this, "");
-
- /**
- * The column agg_address_tx_balance.day
.
- */
- public final TableField DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
-
- private AggAddressTxBalance(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private AggAddressTxBalance(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased agg_address_tx_balance
table reference
- */
- public AggAddressTxBalance(String alias) {
- this(DSL.name(alias), AGG_ADDRESS_TX_BALANCE);
- }
-
- /**
- * Create an aliased agg_address_tx_balance
table reference
- */
- public AggAddressTxBalance(Name alias) {
- this(alias, AGG_ADDRESS_TX_BALANCE);
- }
-
- /**
- * Create a agg_address_tx_balance
table reference
- */
- public AggAddressTxBalance() {
- this(DSL.name("agg_address_tx_balance"), null);
- }
-
- public AggAddressTxBalance(Table child, ForeignKey key) {
- super(child, key, AGG_ADDRESS_TX_BALANCE);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : DefaultSchema.DEFAULT_SCHEMA;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.AGG_ADDRESS_TX_BALANCE_ADDRESS_ID_DAY_BALANCE_IDX, Indexes.AGG_ADDRESS_TX_BALANCE_DAY_IDX, Indexes.AGG_ADDRESS_TX_BALANCE_DAY_INDEX, Indexes.AGG_ADDRESS_TX_BALANCE_STAKE_ADDRESS_ID_DAY_BALANCE_IDX);
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.AGG_ADDRESS_TX_BALANCE_PKEY;
- }
-
- @Override
- public AggAddressTxBalance as(String alias) {
- return new AggAddressTxBalance(DSL.name(alias), this);
- }
-
- @Override
- public AggAddressTxBalance as(Name alias) {
- return new AggAddressTxBalance(alias, this);
- }
-
- @Override
- public AggAddressTxBalance as(Table> alias) {
- return new AggAddressTxBalance(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AggAddressTxBalance rename(String name) {
- return new AggAddressTxBalance(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AggAddressTxBalance rename(Name name) {
- return new AggAddressTxBalance(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AggAddressTxBalance rename(Table> name) {
- return new AggAddressTxBalance(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row5 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row5 fieldsRow() {
- return (Row5) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function5 super Long, ? super Long, ? super Long, ? super BigInteger, ? super LocalDate, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function5 super Long, ? super Long, ? super Long, ? super BigInteger, ? super LocalDate, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AggPoolInfo.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AggPoolInfo.java
deleted file mode 100644
index fd9da751..00000000
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AggPoolInfo.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package org.cardanofoundation.ledgersync.jooq.tables;
-
-
-import java.time.LocalDateTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.cardanofoundation.ledgersync.jooq.DefaultSchema;
-import org.cardanofoundation.ledgersync.jooq.Indexes;
-import org.cardanofoundation.ledgersync.jooq.Keys;
-import org.cardanofoundation.ledgersync.jooq.tables.records.AggPoolInfoRecord;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function7;
-import org.jooq.Identity;
-import org.jooq.Index;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row7;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class AggPoolInfo extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of agg_pool_info
- */
- public static final AggPoolInfo AGG_POOL_INFO = new AggPoolInfo();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return AggPoolInfoRecord.class;
- }
-
- /**
- * The column agg_pool_info.id
.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
-
- /**
- * The column agg_pool_info.pool_id
.
- */
- public final TableField POOL_ID = createField(DSL.name("pool_id"), SQLDataType.BIGINT.nullable(false), this, "");
-
- /**
- * The column agg_pool_info.block_in_epoch
.
- */
- public final TableField BLOCK_IN_EPOCH = createField(DSL.name("block_in_epoch"), SQLDataType.BIGINT, this, "");
-
- /**
- * The column agg_pool_info.block_life_time
.
- */
- public final TableField BLOCK_LIFE_TIME = createField(DSL.name("block_life_time"), SQLDataType.BIGINT, this, "");
-
- /**
- * The column agg_pool_info.delegator_cnt
.
- */
- public final TableField DELEGATOR_CNT = createField(DSL.name("delegator_cnt"), SQLDataType.BIGINT, this, "");
-
- /**
- * The column agg_pool_info.block_check_point
.
- */
- public final TableField BLOCK_CHECK_POINT = createField(DSL.name("block_check_point"), SQLDataType.BIGINT, this, "");
-
- /**
- * The column agg_pool_info.update_time
.
- */
- public final TableField UPDATE_TIME = createField(DSL.name("update_time"), SQLDataType.LOCALDATETIME(6), this, "");
-
- private AggPoolInfo(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private AggPoolInfo(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased agg_pool_info
table reference
- */
- public AggPoolInfo(String alias) {
- this(DSL.name(alias), AGG_POOL_INFO);
- }
-
- /**
- * Create an aliased agg_pool_info
table reference
- */
- public AggPoolInfo(Name alias) {
- this(alias, AGG_POOL_INFO);
- }
-
- /**
- * Create a agg_pool_info
table reference
- */
- public AggPoolInfo() {
- this(DSL.name("agg_pool_info"), null);
- }
-
- public AggPoolInfo(Table child, ForeignKey key) {
- super(child, key, AGG_POOL_INFO);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : DefaultSchema.DEFAULT_SCHEMA;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.AGG_POOL_INFO_BLOCK_IN_EPOCH_IDX, Indexes.AGG_POOL_INFO_BLOCK_LIFE_TIME_IDX, Indexes.AGG_POOL_INFO_DELEGATOR_CNT_IDX, Indexes.EXAGG_POOL_INFO_POOL_ID_IDX);
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.AGG_POOL_INFO_PKEY;
- }
-
- @Override
- public AggPoolInfo as(String alias) {
- return new AggPoolInfo(DSL.name(alias), this);
- }
-
- @Override
- public AggPoolInfo as(Name alias) {
- return new AggPoolInfo(alias, this);
- }
-
- @Override
- public AggPoolInfo as(Table> alias) {
- return new AggPoolInfo(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AggPoolInfo rename(String name) {
- return new AggPoolInfo(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AggPoolInfo rename(Name name) {
- return new AggPoolInfo(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AggPoolInfo rename(Table> name) {
- return new AggPoolInfo(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row7 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row7 fieldsRow() {
- return (Row7) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function7 super Long, ? super Long, ? super Long, ? super Long, ? super Long, ? super Long, ? super LocalDateTime, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function7 super Long, ? super Long, ? super Long, ? super Long, ? super Long, ? super Long, ? super LocalDateTime, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AssetMetadata.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AssetMetadata.java
deleted file mode 100644
index 4c1121f1..00000000
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/AssetMetadata.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package org.cardanofoundation.ledgersync.jooq.tables;
-
-
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.cardanofoundation.ledgersync.jooq.DefaultSchema;
-import org.cardanofoundation.ledgersync.jooq.Indexes;
-import org.cardanofoundation.ledgersync.jooq.Keys;
-import org.cardanofoundation.ledgersync.jooq.tables.records.AssetMetadataRecord;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function11;
-import org.jooq.Identity;
-import org.jooq.Index;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row11;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class AssetMetadata extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of asset_metadata
- */
- public static final AssetMetadata ASSET_METADATA = new AssetMetadata();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return AssetMetadataRecord.class;
- }
-
- /**
- * The column asset_metadata.id
.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
-
- /**
- * The column asset_metadata.decimals
.
- */
- public final TableField DECIMALS = createField(DSL.name("decimals"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column asset_metadata.description
.
- */
- public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(65535).nullable(false), this, "");
-
- /**
- * The column asset_metadata.logo
.
- */
- public final TableField LOGO = createField(DSL.name("logo"), SQLDataType.VARCHAR(100000), this, "");
-
- /**
- * The column asset_metadata.name
.
- */
- public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(500).nullable(false), this, "");
-
- /**
- * The column asset_metadata.policy
.
- */
- public final TableField POLICY = createField(DSL.name("policy"), SQLDataType.VARCHAR(500), this, "");
-
- /**
- * The column asset_metadata.subject
.
- */
- public final TableField SUBJECT = createField(DSL.name("subject"), SQLDataType.VARCHAR(500).nullable(false), this, "");
-
- /**
- * The column asset_metadata.ticker
.
- */
- public final TableField TICKER = createField(DSL.name("ticker"), SQLDataType.VARCHAR(255), this, "");
-
- /**
- * The column asset_metadata.url
.
- */
- public final TableField URL = createField(DSL.name("url"), SQLDataType.VARCHAR(2048), this, "");
-
- /**
- * The column asset_metadata.ident
.
- */
- public final TableField IDENT = createField(DSL.name("ident"), SQLDataType.BIGINT, this, "");
-
- /**
- * The column asset_metadata.logo_hash
.
- */
- public final TableField LOGO_HASH = createField(DSL.name("logo_hash"), SQLDataType.VARCHAR(64), this, "");
-
- private AssetMetadata(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private AssetMetadata(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased asset_metadata
table reference
- */
- public AssetMetadata(String alias) {
- this(DSL.name(alias), ASSET_METADATA);
- }
-
- /**
- * Create an aliased asset_metadata
table reference
- */
- public AssetMetadata(Name alias) {
- this(alias, ASSET_METADATA);
- }
-
- /**
- * Create a asset_metadata
table reference
- */
- public AssetMetadata() {
- this(DSL.name("asset_metadata"), null);
- }
-
- public AssetMetadata(Table child, ForeignKey key) {
- super(child, key, ASSET_METADATA);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : DefaultSchema.DEFAULT_SCHEMA;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.ASSET_METADATA_SUBJECT_IDX, Indexes.ASSET_METADATA_UX);
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.ASSET_METADATA_PKEY;
- }
-
- @Override
- public AssetMetadata as(String alias) {
- return new AssetMetadata(DSL.name(alias), this);
- }
-
- @Override
- public AssetMetadata as(Name alias) {
- return new AssetMetadata(alias, this);
- }
-
- @Override
- public AssetMetadata as(Table> alias) {
- return new AssetMetadata(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AssetMetadata rename(String name) {
- return new AssetMetadata(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AssetMetadata rename(Name name) {
- return new AssetMetadata(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public AssetMetadata rename(Table> name) {
- return new AssetMetadata(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row11 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row11 fieldsRow() {
- return (Row11) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function11 super Long, ? super Integer, ? super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super Long, ? super String, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function11 super Long, ? super Integer, ? super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super Long, ? super String, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/CostModel.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/CostModel.java
index d1039c47..9d88f3b7 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/CostModel.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/CostModel.java
@@ -59,7 +59,7 @@ public Class getRecordType() {
/**
* The column cost_model.costs
.
*/
- public final TableField COSTS = createField(DSL.name("costs"), SQLDataType.VARCHAR(65535).nullable(false), this, "");
+ public final TableField COSTS = createField(DSL.name("costs"), SQLDataType.CLOB.nullable(false), this, "");
/**
* The column cost_model.hash
.
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Cursor_.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Cursor_.java
new file mode 100644
index 00000000..e1cf8bc2
--- /dev/null
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Cursor_.java
@@ -0,0 +1,206 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.cardanofoundation.ledgersync.jooq.tables;
+
+
+import java.time.LocalDateTime;
+import java.util.Arrays;
+import java.util.List;
+import java.util.function.Function;
+
+import org.cardanofoundation.ledgersync.jooq.DefaultSchema;
+import org.cardanofoundation.ledgersync.jooq.Indexes;
+import org.cardanofoundation.ledgersync.jooq.Keys;
+import org.cardanofoundation.ledgersync.jooq.tables.records.Cursor_Record;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function8;
+import org.jooq.Index;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row8;
+import org.jooq.Schema;
+import org.jooq.SelectField;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Cursor_ extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of cursor_
+ */
+ public static final Cursor_ CURSOR_ = new Cursor_();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return Cursor_Record.class;
+ }
+
+ /**
+ * The column cursor_.id
.
+ */
+ public final TableField ID = createField(DSL.name("id"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column cursor_.block_hash
.
+ */
+ public final TableField BLOCK_HASH = createField(DSL.name("block_hash"), SQLDataType.VARCHAR(64).nullable(false), this, "");
+
+ /**
+ * The column cursor_.slot
.
+ */
+ public final TableField SLOT = createField(DSL.name("slot"), SQLDataType.BIGINT, this, "");
+
+ /**
+ * The column cursor_.block_number
.
+ */
+ public final TableField BLOCK_NUMBER = createField(DSL.name("block_number"), SQLDataType.BIGINT, this, "");
+
+ /**
+ * The column cursor_.era
.
+ */
+ public final TableField ERA = createField(DSL.name("era"), SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column cursor_.prev_block_hash
.
+ */
+ public final TableField PREV_BLOCK_HASH = createField(DSL.name("prev_block_hash"), SQLDataType.VARCHAR(64), this, "");
+
+ /**
+ * The column cursor_.create_datetime
.
+ */
+ public final TableField CREATE_DATETIME = createField(DSL.name("create_datetime"), SQLDataType.LOCALDATETIME(6), this, "");
+
+ /**
+ * The column cursor_.update_datetime
.
+ */
+ public final TableField UPDATE_DATETIME = createField(DSL.name("update_datetime"), SQLDataType.LOCALDATETIME(6), this, "");
+
+ private Cursor_(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Cursor_(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased cursor_
table reference
+ */
+ public Cursor_(String alias) {
+ this(DSL.name(alias), CURSOR_);
+ }
+
+ /**
+ * Create an aliased cursor_
table reference
+ */
+ public Cursor_(Name alias) {
+ this(alias, CURSOR_);
+ }
+
+ /**
+ * Create a cursor_
table reference
+ */
+ public Cursor_() {
+ this(DSL.name("cursor_"), null);
+ }
+
+ public Cursor_(Table child, ForeignKey key) {
+ super(child, key, CURSOR_);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : DefaultSchema.DEFAULT_SCHEMA;
+ }
+
+ @Override
+ public List getIndexes() {
+ return Arrays.asList(Indexes.IDX_CURSOR_BLOCK_HASH, Indexes.IDX_CURSOR_BLOCK_NUMBER, Indexes.IDX_CURSOR_ID, Indexes.IDX_CURSOR_SLOT);
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.CURSOR__PKEY;
+ }
+
+ @Override
+ public Cursor_ as(String alias) {
+ return new Cursor_(DSL.name(alias), this);
+ }
+
+ @Override
+ public Cursor_ as(Name alias) {
+ return new Cursor_(alias, this);
+ }
+
+ @Override
+ public Cursor_ as(Table> alias) {
+ return new Cursor_(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Cursor_ rename(String name) {
+ return new Cursor_(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Cursor_ rename(Name name) {
+ return new Cursor_(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Cursor_ rename(Table> name) {
+ return new Cursor_(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row8 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row8 fieldsRow() {
+ return (Row8) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function8 super Integer, ? super String, ? super Long, ? super Long, ? super Integer, ? super String, ? super LocalDateTime, ? super LocalDateTime, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function8 super Integer, ? super String, ? super Long, ? super Long, ? super Integer, ? super String, ? super LocalDateTime, ? super LocalDateTime, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Datum.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Datum.java
index 6016fa81..33fd69d0 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Datum.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Datum.java
@@ -71,7 +71,7 @@ public Class getRecordType() {
/**
* The column datum.value
.
*/
- public final TableField VALUE = createField(DSL.name("value"), SQLDataType.VARCHAR(65535), this, "");
+ public final TableField VALUE = createField(DSL.name("value"), SQLDataType.CLOB, this, "");
/**
* The column datum.tx_id
.
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Era.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Era.java
new file mode 100644
index 00000000..824f7667
--- /dev/null
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Era.java
@@ -0,0 +1,176 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.cardanofoundation.ledgersync.jooq.tables;
+
+
+import java.util.function.Function;
+
+import org.cardanofoundation.ledgersync.jooq.DefaultSchema;
+import org.cardanofoundation.ledgersync.jooq.Keys;
+import org.cardanofoundation.ledgersync.jooq.tables.records.EraRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function4;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row4;
+import org.jooq.Schema;
+import org.jooq.SelectField;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Era extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of era
+ */
+ public static final Era ERA = new Era();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return EraRecord.class;
+ }
+
+ /**
+ * The column era.era
.
+ */
+ public final TableField ERA_ = createField(DSL.name("era"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column era.start_slot
.
+ */
+ public final TableField START_SLOT = createField(DSL.name("start_slot"), SQLDataType.BIGINT.nullable(false), this, "");
+
+ /**
+ * The column era.block
.
+ */
+ public final TableField BLOCK = createField(DSL.name("block"), SQLDataType.BIGINT.nullable(false), this, "");
+
+ /**
+ * The column era.block_hash
.
+ */
+ public final TableField BLOCK_HASH = createField(DSL.name("block_hash"), SQLDataType.VARCHAR(64).nullable(false), this, "");
+
+ private Era(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Era(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased era
table reference
+ */
+ public Era(String alias) {
+ this(DSL.name(alias), ERA);
+ }
+
+ /**
+ * Create an aliased era
table reference
+ */
+ public Era(Name alias) {
+ this(alias, ERA);
+ }
+
+ /**
+ * Create a era
table reference
+ */
+ public Era() {
+ this(DSL.name("era"), null);
+ }
+
+ public Era(Table child, ForeignKey key) {
+ super(child, key, ERA);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : DefaultSchema.DEFAULT_SCHEMA;
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.ERA_PKEY;
+ }
+
+ @Override
+ public Era as(String alias) {
+ return new Era(DSL.name(alias), this);
+ }
+
+ @Override
+ public Era as(Name alias) {
+ return new Era(alias, this);
+ }
+
+ @Override
+ public Era as(Table> alias) {
+ return new Era(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Era rename(String name) {
+ return new Era(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Era rename(Name name) {
+ return new Era(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Era rename(Table> name) {
+ return new Era(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function4 super Integer, ? super Long, ? super Long, ? super String, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function4 super Integer, ? super Long, ? super Long, ? super String, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/PoolOfflineFetchError.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/PoolOfflineFetchError.java
index cb5d8e15..bd4abe38 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/PoolOfflineFetchError.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/PoolOfflineFetchError.java
@@ -124,7 +124,7 @@ public Schema getSchema() {
@Override
public List getIndexes() {
- return Arrays.asList(Indexes.IDX_POOL_OFFLINE_FETCH_ERROR_PMR_ID, Indexes.POOL_OFFLINE_FETCH_ERROR_POOL_ID_IDX, Indexes.POOL_OFFLINE_FETCH_ERROR_POOL_ID_PMR_ID_IDX);
+ return Arrays.asList(Indexes.IDX_POOL_OFFLINE_FETCH_ERROR_PMR_ID);
}
@Override
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/PoolReportHistory.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/PoolReportHistory.java
deleted file mode 100644
index 0dec14d5..00000000
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/PoolReportHistory.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package org.cardanofoundation.ledgersync.jooq.tables;
-
-
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.cardanofoundation.ledgersync.jooq.DefaultSchema;
-import org.cardanofoundation.ledgersync.jooq.Indexes;
-import org.cardanofoundation.ledgersync.jooq.Keys;
-import org.cardanofoundation.ledgersync.jooq.tables.records.PoolReportHistoryRecord;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function11;
-import org.jooq.Identity;
-import org.jooq.Index;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row11;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class PoolReportHistory extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of pool_report_history
- */
- public static final PoolReportHistory POOL_REPORT_HISTORY = new PoolReportHistory();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return PoolReportHistoryRecord.class;
- }
-
- /**
- * The column pool_report_history.id
.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
-
- /**
- * The column pool_report_history.pool_id
.
- */
- public final TableField POOL_ID = createField(DSL.name("pool_id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
-
- /**
- * The column pool_report_history.is_pool_size
.
- */
- public final TableField IS_POOL_SIZE = createField(DSL.name("is_pool_size"), SQLDataType.BOOLEAN.nullable(false), this, "");
-
- /**
- * The column pool_report_history.is_fees_paid
.
- */
- public final TableField IS_FEES_PAID = createField(DSL.name("is_fees_paid"), SQLDataType.BOOLEAN.nullable(false), this, "");
-
- /**
- * The column pool_report_history.begin_epoch
.
- */
- public final TableField BEGIN_EPOCH = createField(DSL.name("begin_epoch"), SQLDataType.INTEGER.nullable(false), this, "");
-
- /**
- * The column pool_report_history.end_epoch
.
- */
- public final TableField END_EPOCH = createField(DSL.name("end_epoch"), SQLDataType.INTEGER.nullable(false), this, "");
-
- /**
- * The column pool_report_history.report_id
.
- */
- public final TableField REPORT_ID = createField(DSL.name("report_id"), SQLDataType.BIGINT.nullable(false), this, "");
-
- /**
- * The column pool_report_history.event_registration
.
- */
- public final TableField EVENT_REGISTRATION = createField(DSL.name("event_registration"), SQLDataType.BOOLEAN.nullable(false), this, "");
-
- /**
- * The column pool_report_history.event_deregistration
.
- */
- public final TableField EVENT_DEREGISTRATION = createField(DSL.name("event_deregistration"), SQLDataType.BOOLEAN.nullable(false), this, "");
-
- /**
- * The column pool_report_history.event_reward
.
- */
- public final TableField EVENT_REWARD = createField(DSL.name("event_reward"), SQLDataType.BOOLEAN.nullable(false), this, "");
-
- /**
- * The column pool_report_history.event_pool_update
.
- */
- public final TableField EVENT_POOL_UPDATE = createField(DSL.name("event_pool_update"), SQLDataType.BOOLEAN.nullable(false), this, "");
-
- private PoolReportHistory(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private PoolReportHistory(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased pool_report_history
table reference
- */
- public PoolReportHistory(String alias) {
- this(DSL.name(alias), POOL_REPORT_HISTORY);
- }
-
- /**
- * Create an aliased pool_report_history
table reference
- */
- public PoolReportHistory(Name alias) {
- this(alias, POOL_REPORT_HISTORY);
- }
-
- /**
- * Create a pool_report_history
table reference
- */
- public PoolReportHistory() {
- this(DSL.name("pool_report_history"), null);
- }
-
- public PoolReportHistory(Table child, ForeignKey key) {
- super(child, key, POOL_REPORT_HISTORY);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : DefaultSchema.DEFAULT_SCHEMA;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.POOL_REPORT_HISTORY_POOL_ID_IDX, Indexes.POOL_REPORT_HISTORY_POOL_ID_REPORT_ID_IDX, Indexes.POOL_REPORT_HISTORY_REPORT_ID_IDX);
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.POOL_REPORT_HISTORY_PKEY;
- }
-
- @Override
- public PoolReportHistory as(String alias) {
- return new PoolReportHistory(DSL.name(alias), this);
- }
-
- @Override
- public PoolReportHistory as(Name alias) {
- return new PoolReportHistory(alias, this);
- }
-
- @Override
- public PoolReportHistory as(Table> alias) {
- return new PoolReportHistory(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public PoolReportHistory rename(String name) {
- return new PoolReportHistory(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public PoolReportHistory rename(Name name) {
- return new PoolReportHistory(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public PoolReportHistory rename(Table> name) {
- return new PoolReportHistory(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row11 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row11 fieldsRow() {
- return (Row11) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function11 super Long, ? super String, ? super Boolean, ? super Boolean, ? super Integer, ? super Integer, ? super Long, ? super Boolean, ? super Boolean, ? super Boolean, ? super Boolean, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function11 super Long, ? super String, ? super Boolean, ? super Boolean, ? super Integer, ? super Integer, ? super Long, ? super Boolean, ? super Boolean, ? super Boolean, ? super Boolean, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Redeemer.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Redeemer.java
index 3932e33e..df0c42b7 100644
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Redeemer.java
+++ b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/Redeemer.java
@@ -139,7 +139,7 @@ public Schema getSchema() {
@Override
public List getIndexes() {
- return Arrays.asList(Indexes.REDEEMER_REDEEMER_DATA_ID_IDX);
+ return Arrays.asList(Indexes.REDEEMER_REDEEMER_DATA_ID_IDX, Indexes.REDEEMER_SCRIPT_HASH_IDX);
}
@Override
diff --git a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/ReportHistory.java b/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/ReportHistory.java
deleted file mode 100644
index 519b1c9d..00000000
--- a/application/src/generated/org/cardanofoundation/ledgersync/jooq/tables/ReportHistory.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package org.cardanofoundation.ledgersync.jooq.tables;
-
-
-import java.time.LocalDateTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.cardanofoundation.ledgersync.jooq.DefaultSchema;
-import org.cardanofoundation.ledgersync.jooq.Indexes;
-import org.cardanofoundation.ledgersync.jooq.Keys;
-import org.cardanofoundation.ledgersync.jooq.tables.records.ReportHistoryRecord;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function8;
-import org.jooq.Identity;
-import org.jooq.Index;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row8;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class ReportHistory extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of report_history
- */
- public static final ReportHistory REPORT_HISTORY = new ReportHistory();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return ReportHistoryRecord.class;
- }
-
- /**
- * The column report_history.id
.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
-
- /**
- * The column report_history.report_name
.
- */
- public final TableField REPORT_NAME = createField(DSL.name("report_name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
-
- /**
- * The column report_history.created_at
.
- */
- public final TableField CREATED_AT = createField(DSL.name("created_at"), SQLDataType.LOCALDATETIME(6), this, "");
-
- /**
- * The column report_history.username
.
- */
- public final TableField USERNAME = createField(DSL.name("username"), SQLDataType.VARCHAR(255).nullable(false), this, "");
-
- /**
- * The column report_history.status
.
- */
- public final TableField STATUS = createField(DSL.name("status"), SQLDataType.VARCHAR(255), this, "");
-
- /**
- * The column report_history.type
.
- */
- public final TableField TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(255), this, "");
-
- /**
- * The column report_history.storage_key
.
- */
- public final TableField STORAGE_KEY = createField(DSL.name("storage_key"), SQLDataType.VARCHAR(255), this, "");
-
- /**
- * The column report_history.uploaded_at
.
- */
- public final TableField UPLOADED_AT = createField(DSL.name("uploaded_at"), SQLDataType.LOCALDATETIME(6), this, "");
-
- private ReportHistory(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private ReportHistory(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased