From 616c92f7a2b44bf8e38c646d733a6378a25c258b Mon Sep 17 00:00:00 2001 From: luke miles Date: Mon, 26 Jun 2023 19:11:32 -0700 Subject: [PATCH] cleanup: drop trees_proofs table + proofs columns (#103) --- api/migrations/migrations.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/migrations/migrations.go b/api/migrations/migrations.go index dd8f901..7157d62 100644 --- a/api/migrations/migrations.go +++ b/api/migrations/migrations.go @@ -126,4 +126,11 @@ var Migrations = []migrate.Migration{ CREATE INDEX IF NOT EXISTS proofs_hashes_hash_idx ON proofs_hashes (hash); `, }, + { + Name: "2023-06-26.1.drop_data.sql", + SQL: ` + ALTER TABLE "trees" DROP COLUMN "proofs"; + DROP TABLE "trees_proofs"; + `, + }, }