From 3e30310d012c6378eac67895ca2c4dfa2bc10711 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Mon, 16 Sep 2019 22:11:12 +0100 Subject: [PATCH] changed my_lat and my_lng data types due to adif spec --- .../migrations/022_mylatlng_wrongtype.php | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 application/migrations/022_mylatlng_wrongtype.php 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