From 6dde89d1eb6fdc1993b51eabdcd1a8b893c175c6 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 12 Jun 2021 06:28:44 +0200 Subject: [PATCH] Add migrations. --- ...064644_add_ldap_columns_to_users_table.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2021_05_09_064644_add_ldap_columns_to_users_table.php diff --git a/database/migrations/2021_05_09_064644_add_ldap_columns_to_users_table.php b/database/migrations/2021_05_09_064644_add_ldap_columns_to_users_table.php new file mode 100644 index 0000000000..48e0f08e50 --- /dev/null +++ b/database/migrations/2021_05_09_064644_add_ldap_columns_to_users_table.php @@ -0,0 +1,28 @@ +string('domain')->nullable(); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn(['domain']); + }); + } +}