From 364bb9541e2b7119f867a93d60c61b222c0973bb Mon Sep 17 00:00:00 2001 From: Corby Krick Date: Tue, 26 Feb 2013 22:10:14 -0600 Subject: [PATCH] Adding a primary key just for SQL sanity sake :) --- application/migrations/002_add_config_table.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/migrations/002_add_config_table.php b/application/migrations/002_add_config_table.php index 13346907..9173bafb 100644 --- a/application/migrations/002_add_config_table.php +++ b/application/migrations/002_add_config_table.php @@ -4,7 +4,8 @@ class Migration_add_config_table extends CI_Migration { public function up() { - + $this->dbforge->add_field('id'); + $this->dbforge->add_field(array( 'lotw_download_url' => array( 'type' => 'VARCHAR', @@ -20,6 +21,7 @@ class Migration_add_config_table extends CI_Migration { ), )); + $this->dbforge->create_table('config'); $data = array(