From 33f967d66471addccee8fe526f06e494a16723d6 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Mon, 16 Sep 2019 22:15:14 +0100 Subject: [PATCH] Email col far to short --- .../migrations/023_col_email_tooshort.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 application/migrations/023_col_email_tooshort.php diff --git a/application/migrations/023_col_email_tooshort.php b/application/migrations/023_col_email_tooshort.php new file mode 100644 index 00000000..820943ba --- /dev/null +++ b/application/migrations/023_col_email_tooshort.php @@ -0,0 +1,23 @@ + array( + 'name' => 'COL_EMAIL', + 'type' => 'VARCHAR', + 'constraint' => '255', + ) + ); + $this->dbforge->modify_column($this->config->item('table_name'), $fields); + } + + public function down() + { + echo "Not possible, sorry."; + } +} \ No newline at end of file