diff --git a/application/migrations/022_mylatlng_wrongtype.php b/application/migrations/022_mylatlng_wrongtype.php new file mode 100644 index 00000000..c02d1cb4 --- /dev/null +++ b/application/migrations/022_mylatlng_wrongtype.php @@ -0,0 +1,29 @@ + array( + 'name' => 'COL_MY_LAT', + 'type' => 'VARCHAR', + 'constraint' => '15', + ), + + 'COL_MY_LON' => array( + 'name' => 'COL_MY_LON', + 'type' => 'VARCHAR', + 'constraint' => '15', + ), + ); + $this->dbforge->modify_column($this->config->item('table_name'), $fields); + } + + public function down() + { + echo "Not possible, sorry."; + } +} \ No newline at end of file