Merge pull request #2722 from phl0/fixDxpeditionTable

Fix SQL errors on migration
This commit is contained in:
Andreas Kristiansen
2023-11-24 07:54:22 +01:00
committed by GitHub

View File

@@ -19,7 +19,8 @@ class Migration_create_dxpedition_table extends CI_Migration
'type' => 'INT',
'constraint' => 6,
'unsigned' => TRUE,
'auto_increment' => TRUE
'auto_increment' => TRUE,
'null' => FALSE
),
'start_date' => array(
'type' => 'DATE',
@@ -32,7 +33,7 @@ class Migration_create_dxpedition_table extends CI_Migration
'callsign' => array(
'type' => 'VARCHAR',
'constraint' => '255',
'null' => TRUE,
'null' => FALSE,
),
'country' => array(
'type' => 'VARCHAR',