From 129b9301e9235281cb800fea543ad39f8e309acd Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Wed, 15 Jul 2015 13:38:53 -0400 Subject: [PATCH] Drop exchanges table --- gratipay/testing/__init__.py | 1 - sql/branch.sql | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/gratipay/testing/__init__.py b/gratipay/testing/__init__.py index ccfcc1836f..dbd2903ca8 100644 --- a/gratipay/testing/__init__.py +++ b/gratipay/testing/__init__.py @@ -68,7 +68,6 @@ class Harness(unittest.TestCase): @classmethod def setUpClass(cls): - cls.db.run("ALTER SEQUENCE exchanges_id_seq RESTART WITH 1") cls.setUpVCR() diff --git a/sql/branch.sql b/sql/branch.sql index dd83593f9a..f5db2e7bb1 100644 --- a/sql/branch.sql +++ b/sql/branch.sql @@ -1,6 +1,7 @@ BEGIN; DROP TABLE payments; + DROP TABLE exchanges; CREATE FUNCTION current_payday() RETURNS SETOF paydays AS $$