1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Schema for e_invoice_quotas

This commit is contained in:
David Bomba 2024-10-08 14:44:50 +11:00
parent 4c2af83e88
commit 8e1feeff69
2 changed files with 27 additions and 0 deletions

View File

@ -72,6 +72,7 @@ use Laracasts\Presenter\PresentableTrait;
* @property bool $account_sms_verified
* @property string|null $bank_integration_account_id
* @property bool $is_trial
* @property int $e_invoice_quota
* @property-read int|null $bank_integrations_count
* @property-read int|null $companies_count
* @property-read int|null $company_users_count

View File

@ -0,0 +1,26 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('accounts', function (Blueprint $table){
$table->unsignedInteger('e_invoice_quota')->default(0);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};