496
496
$createFields[] = 'INDEX (`' . $field . '`) ';
499
$createQuery = "CREATE TABLE " . $this->table_name ." ( " . implode(',', $createFields) . ") ENGINE=InnoDB DEFAULT CHARSET=utf8";
499
$createQuery = "CREATE TABLE " . $this->table_name ." ( " . implode(',', $createFields) . ") ENGINE=InnoDB DEFAULT CHARSET=utf8 DEFAULT COLLATE=utf8_bin";
500
500
I2CE::raiseError("Creating table for {$this->form} as:\n$createQuery");
502
502
$result =$db->query($createQuery);