From 7eb0267c0d699ddccfa093470880949ff8619af7 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 30 Oct 2020 23:11:07 +1100 Subject: [PATCH] Disable a company if needed --- .../2020_10_30_084139_change_expense_currency_id_column.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/database/migrations/2020_10_30_084139_change_expense_currency_id_column.php b/database/migrations/2020_10_30_084139_change_expense_currency_id_column.php index e2f5690c0865..340cc851b533 100644 --- a/database/migrations/2020_10_30_084139_change_expense_currency_id_column.php +++ b/database/migrations/2020_10_30_084139_change_expense_currency_id_column.php @@ -16,6 +16,10 @@ class ChangeExpenseCurrencyIdColumn extends Migration Schema::table('expenses', function(Blueprint $table){ $table->renameColumn('expense_currency_id', 'currency_id'); }); + + Schema::table('companies', function(Blueprint $table){ + $table->boolean('is_disabled')->default(false); + }); } /**