Advertisement
Guest User

Untitled

a guest
Apr 12th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. IF UPDATING
  2. UPDATE cache_merchants
  3. SET merchant_name = :new.merchant_name,transflow_username = :new.transflow_username,
  4. transflow_password = :new.transflow_password,
  5. callback_url = :new.callback_url,status = :new.status, updated_at=now()
  6. WHERE merchant_id = :old.merchant_id ;
  7.  
  8. IF DELETING
  9. DELETE FROM cache_merchants WHERE merchant_id = :old.merchant_id ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement