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:
parent
4c2af83e88
commit
8e1feeff69
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
//
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user