setTableName('commandes'); $this->hasColumn('User', 'varchar', 255, array('primary' => true)); $this->hasColumn('Ip', 'varchar', 255, array('notnull'=> true)); $this->hasColumn('ProviderOrderId', 'integer', 11, array('notnull'=> true)); $this->hasColumn('InternalOrderId', 'integer', 11, array('notnull'=> true)); $this->hasColumn('ConsumerId', 'integer', 11, array('notnull'=> true)); $this->hasColumn('CompanyName', 'varchar', 255, array('notnull' => true)); $this->hasColumn('CompanyCountry', 'varchar', 255, array('notnull' => true)); $this->hasColumn('ProviderId', 'integer', 11, array('notnull'=> true)); $this->hasColumn('CountryCode', 'char', 50, array('notnull'=> true)); $this->hasColumn('CompanyId','varchar', 255, array('notnull'=> true)); $this->hasColumn('DataSetType', 'varchar', 255, array('notnull'=> true)); $this->hasColumn('OrderDateTime', 'timestamp', array('notnull' => true)); } } ?>