mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
remove provider_rates table
this was added five years ago but never used. if we want to bring back variable rates per client we might as well get a fresh start since a lot has changed since then.
This commit is contained in:
@@ -43,7 +43,6 @@ from app.models import (
|
||||
Permission,
|
||||
ProviderDetails,
|
||||
ProviderDetailsHistory,
|
||||
ProviderRates,
|
||||
Service,
|
||||
ServiceEmailReplyTo,
|
||||
ServiceGuestList,
|
||||
@@ -954,7 +953,6 @@ def restore_provider_details(notify_db, notify_db_session):
|
||||
yield
|
||||
|
||||
# also delete these as they depend on provider_details
|
||||
ProviderRates.query.delete()
|
||||
ProviderDetails.query.delete()
|
||||
ProviderDetailsHistory.query.delete()
|
||||
notify_db.session.commit()
|
||||
|
||||
Reference in New Issue
Block a user