diff --git a/application/migrations/021_latlng_wrongtype.php b/application/migrations/021_latlng_wrongtype.php new file mode 100644 index 00000000..90f5c0dc --- /dev/null +++ b/application/migrations/021_latlng_wrongtype.php @@ -0,0 +1,29 @@ + array( + 'name' => 'COL_LAT', + 'type' => 'VARCHAR', + 'constraint' => '15', + ), + + 'COL_LON' => array( + 'name' => 'COL_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