From 87e6bb95bac8f457d25a9c0dfc72df3ac6d136a8 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Tue, 18 Jan 2022 17:55:59 +0000 Subject: [PATCH] Update 082_add_reset_pass_to_users.php --- application/migrations/082_add_reset_pass_to_users.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/migrations/082_add_reset_pass_to_users.php b/application/migrations/082_add_reset_pass_to_users.php index 00c2df42..90eaada0 100644 --- a/application/migrations/082_add_reset_pass_to_users.php +++ b/application/migrations/082_add_reset_pass_to_users.php @@ -15,7 +15,7 @@ class Migration_add_reset_pass_to_users extends CI_Migration { { $fields = array( 'reset_password_code varchar(50) DEFAULT NULL', - 'reset_password_date varchar(50) DEFAULT NULL', + 'reset_password_date TIMESTAMP NULL DEFAULT NULL', ); $this->dbforge->add_column('users', $fields); @@ -26,4 +26,4 @@ class Migration_add_reset_pass_to_users extends CI_Migration { $this->dbforge->drop_column('users', 'reset_password_code'); $this->dbforge->drop_column('users', 'reset_password_date'); } -} \ No newline at end of file +}