Changed Migration so that it checks if qsl_images exists as i kept getting errors jumping around branches :)

pull/677/head
Peter Goodhall 2020-10-30 16:11:41 +00:00
rodzic 82ad08d290
commit 6de9ff69b0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -7,7 +7,7 @@ class Migration_add_qsl_images extends CI_Migration {
public function up()
{
// create qsl images table
$this->db->query("CREATE TABLE `qsl_images`
$this->db->query("CREATE TABLE IF NOT EXISTS `qsl_images`
(`id` integer NOT NULL auto_increment, `qsoid` int, `filename` text, primary key (id))
ENGINE=myisam DEFAULT CHARSET=utf8;");
}