import db try: db.execute_commit('ALTER TABLE order_files MODIFY order_id INT NULL') print("order_id made nullable") except Exception as e: print("Error:", e)