From 944bd1207cc3dd39816934079cc30fc667d289ac Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 15 Oct 2020 08:16:20 +1100 Subject: [PATCH] Company entity options --- .../2020_10_14_201320_project_ids_to_entities.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/database/migrations/2020_10_14_201320_project_ids_to_entities.php b/database/migrations/2020_10_14_201320_project_ids_to_entities.php index d81d02e0e2fd..9d3af7e58eb5 100644 --- a/database/migrations/2020_10_14_201320_project_ids_to_entities.php +++ b/database/migrations/2020_10_14_201320_project_ids_to_entities.php @@ -21,6 +21,13 @@ class ProjectIdsToEntities extends Migration $table->longText('fields')->change(); }); + Schema::table('gateways', function (Blueprint $table) { + $table->boolean('mark_expenses_invoiceable')->default(0); + $table->boolean('mark_expenses_paid')->default(0); + $table->enum('use_credits_payment', ['always', 'off', 'optin'])->nullable(); + }); + + } /**