Browse Source

Missing DROP TRIGGER

Eren Yilmaz 5 years ago
parent
commit
381e99c538
1 changed files with 1 additions and 0 deletions
  1. 1 0
      db_setup.py

+ 1 - 0
db_setup.py

@@ -47,6 +47,7 @@ def drop_triggers(cursor):
     cursor.execute("DROP TRIGGER IF EXISTS buyer_id_not_null_after_insert")
     cursor.execute("DROP TRIGGER IF EXISTS not_nullify_seller_id_after_update")
     cursor.execute("DROP TRIGGER IF EXISTS seller_id_not_null_after_insert")
+    cursor.execute("DROP TRIGGER IF EXISTS order_history_no_update")
 
 
 def seed(cursor):