From 2d5d9a85c00993bfdb860adb9f46577ba6b63343 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 14 Sep 2015 15:20:51 +0930 Subject: [PATCH] Use correct column name --- .../2015_05_11_000000_add_suspended_until_to_users_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/suspend/migrations/2015_05_11_000000_add_suspended_until_to_users_table.php b/extensions/suspend/migrations/2015_05_11_000000_add_suspended_until_to_users_table.php index ac4c4e2e3..73fd2312e 100644 --- a/extensions/suspend/migrations/2015_05_11_000000_add_suspended_until_to_users_table.php +++ b/extensions/suspend/migrations/2015_05_11_000000_add_suspended_until_to_users_table.php @@ -22,7 +22,7 @@ class AddSuspendedUntilToUsersTable extends Migration public function up() { $this->schema->table('users', function (Blueprint $table) { - $table->dateTime('suspended_until')->nullable(); + $table->dateTime('suspend_until')->nullable(); }); } @@ -34,7 +34,7 @@ class AddSuspendedUntilToUsersTable extends Migration public function down() { $this->schema->table('users', function (Blueprint $table) { - $table->dropColumn('suspended_until'); + $table->dropColumn('suspend_until'); }); } }