From 19313e4b83f0f2ca98418a75305692631c4b65b6 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 26 Jan 2017 04:48:43 -0800 Subject: [PATCH] Fixed borked down() method in migration --- .../2017_01_09_040429_create_locations_ldap_query_field.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2017_01_09_040429_create_locations_ldap_query_field.php b/database/migrations/2017_01_09_040429_create_locations_ldap_query_field.php index 54d609d719..f67f85c2aa 100644 --- a/database/migrations/2017_01_09_040429_create_locations_ldap_query_field.php +++ b/database/migrations/2017_01_09_040429_create_locations_ldap_query_field.php @@ -24,8 +24,8 @@ class CreateLocationsLdapQueryField extends Migration */ public function down() { - Schema::table('locations', function ($table) { - $table->string('ldap_ou')->nullable()->default(null); + Schema::table('locations', function (Blueprint $table) { + $table->dropColumn('ldap_ou'); }); } }