remove unused org types before adding ours

This commit is contained in:
Steven Reilly
2022-10-12 16:39:16 +00:00
committed by stvnrlly
parent 0186095920
commit 91c57bd2b4
+2 -1
View File
@@ -17,7 +17,8 @@ def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.get_bind()
op.execute("INSERT INTO organisation_types VALUES ('state','f','250000'),('federal','f','250000');")
op.execute("TRUNCATE TABLE organisation_types CASCADE;")
op.execute("INSERT INTO organisation_types VALUES ('state','f','250000'),('federal','f','250000'),('other','f','250000');")
# ### end Alembic commands ###