remove unused org types before adding ours

This commit is contained in:
Steven Reilly
2022-09-28 16:05:57 -04:00
committed by stvnrlly
parent 0186095920
commit 91c57bd2b4

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 ###