From 662989169f0bca97b0b1d17458ba80bff1c402ac Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 21 Aug 2024 10:20:32 +1000 Subject: [PATCH] Quotas for einvoice --- config/ninja.php | 1 + ..._21_001832_add_einvoice_option_license.php | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 database/migrations/2024_08_21_001832_add_einvoice_option_license.php diff --git a/config/ninja.php b/config/ninja.php index 9aba2900ae55..d5745d87a281 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -45,6 +45,7 @@ return [ 'environment' => env('NINJA_ENVIRONMENT', 'selfhost'), // 'hosted', 'development', 'selfhost', 'reseller' 'preconfigured_install' => env('PRECONFIGURED_INSTALL', false), 'update_secret' => env('UPDATE_SECRET', ''), + 'license_key' => env('LICENSE_KEY', false), // Settings used by invoiceninja.com 'disks' => [ 'backup' => env('BACKUP_DISK', 's3'), diff --git a/database/migrations/2024_08_21_001832_add_einvoice_option_license.php b/database/migrations/2024_08_21_001832_add_einvoice_option_license.php new file mode 100644 index 000000000000..c7228383a54c --- /dev/null +++ b/database/migrations/2024_08_21_001832_add_einvoice_option_license.php @@ -0,0 +1,28 @@ +unsignedInteger('e_invoice_quota')->nullable()->index(); + }); + + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + // + } +};