TransbankDevelopers / transbank-plugin-woocommerce-webpay

OBSOLETO: Código fuente de Plugin WooCommerce para Transbank Webpay
BSD 3-Clause "New" or "Revised" License
19 stars 17 forks source link

Remove unused table column that sometimes throws an error #143

Closed gdespirito closed 4 years ago

gdespirito commented 4 years ago

This PR deletes the column updated_at From the webpay_transactions creation schema, because sometimes it throws an error becomes there are two time stamp columns and as I understand in some versions of MySQL this can not be done. Also, if something else fails, it shows an error message on the admin panel.

Lo que soluciona el error es eliminar la columna updated_at de la creación de la tabla, ya que no es necesaria y el error más común por lo que falla es porque no pueden haber dos columnas TIMESTAMP en algunas versiones ded MySQL (o algo así)