Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add migration
James Cole22c09b7849c8
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.phpnew file mode 100644index 0000000000..48e0f08e50--- /dev/null+++ b/database/migrations/2021_05_09_064644_add_ldap_columns_to_users_table.php@@ -0,0 +1,28 @@+<?php++use Illuminate\Support\Facades\Schema;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Database\Migrations\Migration;++class AddLdapColumnsToUsersTable extends Migration+{+ /**+ * Run the migrations.+ */+ public function up()+ {+ Schema::table('users', function (Blueprint $table) {+ $table->string('domain')->nullable();+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down()+ {+ Schema::table('users', function (Blueprint $table) {+ $table->dropColumn(['domain']);+ });+ }+}