From 1b217113d4b9fe7b472d6c560107d328bbefe56d Mon Sep 17 00:00:00 2001 From: George Drummond Date: Wed, 29 May 2019 11:40:23 -0400 Subject: [PATCH] Keep alembic_version table --- script/remove_sample_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/remove_sample_data.py b/script/remove_sample_data.py index 93063822..43820f6b 100644 --- a/script/remove_sample_data.py +++ b/script/remove_sample_data.py @@ -17,7 +17,7 @@ def remove_sample_data(): meta = sqlalchemy.MetaData(bind=conn, reflect=True) trans = conn.begin() - retained_tables = ["permission_sets"] + retained_tables = ["alembic_version", "permission_sets"] for t in meta.sorted_tables: if str(t) not in retained_tables: