forked from cerc-io/ipld-eth-server
Add light sync transactions table
- Foreign key to header instead of block - Can use same Transaction struct for both
This commit is contained in:
1 parent
d93006321b
commit
79e011aad2
9 files changed
+154
-1
No files matched your search
@@ -240,6 +240,9 @@ func TearDown(db *postgres.DB) {
|
||||
_, err = tx.Exec(`DELETE FROM full_sync_transactions`)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
_, err = tx.Exec("DELETE FROM light_sync_transactions")
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
_, err = tx.Exec(`DELETE FROM receipts`)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
|
||||
Reference in new issue
Block a user