mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
License updates
This commit is contained in:
parent
5144d12ba8
commit
b23bbb172d
@ -1,5 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Invoice Ninja (https://invoiceninja.com).
|
||||
*
|
||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||
*
|
||||
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||
*
|
||||
* @license https://www.elastic.co/licensing/elastic-license
|
||||
*/
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
@ -17,12 +17,16 @@ use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class SetRecurringClientTimestamp extends Migration
|
||||
{
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
|
||||
set_time_limit(0);
|
||||
|
||||
Schema::table('recurring_invoices', function (Blueprint $table) {
|
||||
$table->datetime('next_send_date_client')->nullable();
|
||||
});
|
||||
|
@ -22,6 +22,8 @@ class CreatePurchaseOrderInvitationsTable extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
set_time_limit(0);
|
||||
|
||||
Schema::create('purchase_order_invitations', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedInteger('company_id');
|
||||
@ -68,6 +70,8 @@ class CreatePurchaseOrderInvitationsTable extends Migration
|
||||
$settings->purchase_order_number_counter = 1; //@implemented
|
||||
$settings->email_subject_purchase_order = '';
|
||||
$settings->email_template_purchase_order = '';
|
||||
$settings->require_purchase_order_signature = false;
|
||||
|
||||
$company->settings = $settings;
|
||||
$company->save();
|
||||
});
|
||||
@ -82,4 +86,5 @@ class CreatePurchaseOrderInvitationsTable extends Migration
|
||||
public function down()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user