Skip to content

Commit 616c92f

Browse files
authored
cleanup: drop trees_proofs table + proofs columns (#103)
1 parent 262e346 commit 616c92f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

api/migrations/migrations.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,11 @@ var Migrations = []migrate.Migration{
126126
CREATE INDEX IF NOT EXISTS proofs_hashes_hash_idx ON proofs_hashes (hash);
127127
`,
128128
},
129+
{
130+
Name: "2023-06-26.1.drop_data.sql",
131+
SQL: `
132+
ALTER TABLE "trees" DROP COLUMN "proofs";
133+
DROP TABLE "trees_proofs";
134+
`,
135+
},
129136
}

0 commit comments

Comments
 (0)