This commit is contained in:
2026-07-23 16:37:12 +02:00
parent 99c345f2f2
commit 0da75c1311
2159 changed files with 230833 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
-- file: kb_store_pg/maintenance/drop_raw_core_store.sql
-- version: 4
-- Drop raw and core Solana storage tables in reverse dependency order.
-- This script is intended for local development and test databases only.
-- It does not drop unrelated schemas, migrations, roles or configuration state.
-- It intentionally avoids CASCADE so unexpected dependencies fail loudly.
-- No custom PostgreSQL enum/domain types are owned by these 0.2.3/0.2.4 tables.
BEGIN;
DROP TABLE IF EXISTS kb_sol_core_balance_changes;
DROP TABLE IF EXISTS kb_sol_core_logs;
DROP TABLE IF EXISTS kb_sol_core_inner_instructions;
DROP TABLE IF EXISTS kb_sol_core_instructions;
DROP TABLE IF EXISTS kb_sol_core_account_keys;
DROP TABLE IF EXISTS kb_sol_core_transactions;
DROP TABLE IF EXISTS kb_sol_obs_transaction_observations;
DROP TABLE IF EXISTS kb_sol_raw_transactions;
COMMIT;