Ver Mensaje Individual
  #4 (permalink)  
Antiguo 28/09/2011, 07:43
Avatar de Eleazan
Eleazan
 
Fecha de Ingreso: abril-2008
Ubicación: Ibiza
Mensajes: 1.879
Antigüedad: 16 años
Puntos: 326
Respuesta: generador de modelos, controladores y vistas

Prueba con esta:

Código MySQL:
Ver original
  1. CREATE TABLE IF NOT EXISTS `grupostarifa` (
  2.   `id` int(11) NOT NULL AUTO_INCREMENT,
  3.   `grupo` varchar(5) NOT NULL,
  4.   `nombre` varchar(100) NOT NULL,
  5.   `emin` int(11) NOT NULL,
  6.   `apermiso` int(11) NOT NULL,
  7.   `activo` int(11) DEFAULT '1',
  8.   `franquicia` decimal(10,2) NOT NULL,
  9.   `id_grupovehiculos` int(11) NOT NULL,
  10.   `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  11.   `modified_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  12.   PRIMARY KEY (`id`)
__________________
>> Eleazan's Source
>> @Eleazan