Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/03/2011, 12:00
Marti1982
 
Fecha de Ingreso: mayo-2008
Ubicación: España
Mensajes: 130
Antigüedad: 16 años
Puntos: 3
Respuesta: 2 columnas en mysql del tipo timestamp

Sencillamente intento cambiar el tipo de un campo, ahora me he dado cuenta que si cambio solamente el tipo a "Timestamp" si me deja, es al indicar el atributo "on update CURRENT_TIMESTAMP" que phpmyadmin me lanza el siguiente error:

Código PHP:
#1293 - Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause 
Muchas gracias por tu ayuda.