Skip to content

Commit

Permalink
revert schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Nov 4, 2024
1 parent 6e95960 commit a96ae3c
Show file tree
Hide file tree
Showing 55 changed files with 13,632 additions and 65 deletions.
2 changes: 1 addition & 1 deletion schemas/dimMarkets_schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"mode": "NULLABLE",
"name": "counter_issuers",
"name": "counter_issuer",
"type": "STRING"
},
{
Expand Down
2 changes: 1 addition & 1 deletion schemas/euro_ohlc_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"mode": "NULLABLE",
"name": "open",
"type": "INTEGER"
"type": "FLOAT"
},
{
"mode": "NULLABLE",
Expand Down
5 changes: 5 additions & 0 deletions schemas/history_contract_events_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"name": "transaction_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "successful",
"type": "BOOLEAN"
},
{
"mode": "NULLABLE",
"name": "in_successful_contract_call",
Expand Down
137 changes: 137 additions & 0 deletions schemas/history_trades_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
[
{
"mode": "NULLABLE",
"name": "history_operation_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "order",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "ledger_closed_at",
"type": "TIMESTAMP"
},
{
"mode": "NULLABLE",
"name": "selling_account_address",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "selling_asset_code",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "selling_asset_issuer",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "selling_asset_type",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "selling_asset_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "selling_amount",
"type": "FLOAT"
},
{
"mode": "NULLABLE",
"name": "buying_account_address",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "buying_asset_code",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "buying_asset_issuer",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "buying_asset_type",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "buying_asset_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "buying_amount",
"type": "FLOAT"
},
{
"mode": "NULLABLE",
"name": "price_n",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "price_d",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "selling_offer_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "buying_offer_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "batch_id",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "batch_run_date",
"type": "DATETIME"
},
{
"mode": "NULLABLE",
"name": "batch_insert_ts",
"type": "TIMESTAMP"
},
{
"mode": "NULLABLE",
"name": "selling_liquidity_pool_id",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "liquidity_pool_fee",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "trade_type",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "rounding_slippage",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "seller_is_exact",
"type": "BOOLEAN"
}
]
63 changes: 0 additions & 63 deletions schemas/new_schema.json

This file was deleted.

62 changes: 62 additions & 0 deletions schemas/schemas/account_signers_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[
{
"mode": "NULLABLE",
"name": "account_id",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "signer",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "weight",
"type": "FLOAT"
},
{
"mode": "NULLABLE",
"name": "sponsor",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "last_modified_ledger",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "ledger_entry_change",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "deleted",
"type": "BOOLEAN"
},
{
"mode": "NULLABLE",
"name": "batch_id",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "batch_run_date",
"type": "DATETIME"
},
{
"mode": "NULLABLE",
"name": "batch_insert_ts",
"type": "TIMESTAMP"
},
{
"mode": "NULLABLE",
"name": "closed_at",
"type": "TIMESTAMP"
},
{
"mode": "NULLABLE",
"name": "ledger_sequence",
"type": "INTEGER"
}
]
Loading

0 comments on commit a96ae3c

Please sign in to comment.