From fba54e1278be65c8b600e3311c283342a597afab Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Tue, 15 Mar 2011 21:01:03 +0000 Subject: Removed migrations folder, accidentally sneaked in during a bad merge. --- application/migrations/001_Create_accounts.php | 32 -------------------------- 1 file changed, 32 deletions(-) delete mode 100644 application/migrations/001_Create_accounts.php diff --git a/application/migrations/001_Create_accounts.php b/application/migrations/001_Create_accounts.php deleted file mode 100644 index 4b2fc936f..000000000 --- a/application/migrations/001_Create_accounts.php +++ /dev/null @@ -1,32 +0,0 @@ -db->table_exists('accounts')) - { - // Setup Keys - $this->dbforge->add_key('id', TRUE); - - $this->dbforge->add_field(array( - 'id' => array('type' => 'INT', 'constraint' => 5, 'unsigned' => TRUE, 'auto_increment' => TRUE), - 'company_name' => array('type' => 'VARCHAR', 'constraint' => '200', 'null' => FALSE), - 'first_name' => array('type' => 'VARCHAR', 'constraint' => '200', 'null' => FALSE), - 'last_name' => array('type' => 'VARCHAR', 'constraint' => '200', 'null' => FALSE), - 'phone' => array('type' => 'TEXT', 'null' => FALSE), - 'email' => array('type' => 'TEXT', 'null' => FALSE), - 'address' => array('type' => 'TEXT', 'null' => FALSE), - 'Last_Update' => array('type' => 'DATETIME', 'null' => FALSE) - )); - - $this->dbforge->add_field("Created_At TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP"); - $this->dbforge->create_table('accounts', TRUE); - } - } - - function down() - { - $this->dbforge->drop_table('accounts'); - } -} -- cgit v1.2.3-24-g4f1b