1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Adopt anonymous migrations

This commit is contained in:
Shift 2022-06-21 10:02:20 +00:00
parent 4f7a8f9752
commit 1c40ea40b4
No known key found for this signature in database
GPG Key ID: 5A96F038425C5A1C
141 changed files with 282 additions and 282 deletions

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePasswordResetsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -38,4 +38,4 @@ class CreatePasswordResetsTable extends Migration
{
Schema::dropIfExists('password_resets');
}
}
};

View File

@ -14,7 +14,7 @@ use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -1395,4 +1395,4 @@ class CreateUsersTable extends Migration
public function down()
{
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFailedJobsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -41,4 +41,4 @@ class CreateFailedJobsTable extends Migration
{
Schema::dropIfExists('failed_jobs');
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateJobsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -42,4 +42,4 @@ class CreateJobsTable extends Migration
{
Schema::dropIfExists('jobs');
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddIsDeletedColumnToCompanyTokensTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -57,4 +57,4 @@ class AddIsDeletedColumnToCompanyTokensTable extends Migration
public function down()
{
}
}
};

View File

@ -14,7 +14,7 @@ use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
class AddGoogleRefreshTokenToUsersTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -42,4 +42,4 @@ class AddGoogleRefreshTokenToUsersTable extends Migration
public function down()
{
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CompanyTooLargeAttribute extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -42,4 +42,4 @@ class CompanyTooLargeAttribute extends Migration
{
//
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddTokenIdToActivityTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -39,4 +39,4 @@ class AddTokenIdToActivityTable extends Migration
public function down()
{
}
}
};

View File

@ -12,7 +12,7 @@
use App\Models\Company;
use Illuminate\Database\Migrations\Migration;
class UpdateEnabledModulesValue extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -36,4 +36,4 @@ class UpdateEnabledModulesValue extends Migration
{
//
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ShopToken extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -36,4 +36,4 @@ class ShopToken extends Migration
{
//
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddIsDeletedToGroupSettings extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -35,4 +35,4 @@ class AddIsDeletedToGroupSettings extends Migration
public function down()
{
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddIsDeletedFlagToClientGatewayTokenTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -35,4 +35,4 @@ class AddIsDeletedFlagToClientGatewayTokenTable extends Migration
public function down()
{
}
}
};

View File

@ -12,7 +12,7 @@
use App\Models\Design;
use Illuminate\Database\Migrations\Migration;
class RemovePhotoDesign extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -37,4 +37,4 @@ class RemovePhotoDesign extends Migration
{
//
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddReminderSentFieldsToEntityTables extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -56,4 +56,4 @@ class AddReminderSentFieldsToEntityTables extends Migration
public function down()
{
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddIsPublicToDocumentsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -113,4 +113,4 @@ class AddIsPublicToDocumentsTable extends Migration
public function down()
{
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class IdNumberFieldsForMissingEntities extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -52,4 +52,4 @@ class IdNumberFieldsForMissingEntities extends Migration
{
//
}
}
};

View File

@ -13,7 +13,7 @@ use App\Models\Gateway;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
class UpdateGatewayTableVisibleColumn extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -59,4 +59,4 @@ class UpdateGatewayTableVisibleColumn extends Migration
{
//
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class VendorSchemaUpdate extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -53,4 +53,4 @@ class VendorSchemaUpdate extends Migration
{
//
}
}
};

View File

@ -12,7 +12,7 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
class ProjectNumberColumn extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -44,4 +44,4 @@ class ProjectNumberColumn extends Migration
{
//
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ProjectIdsToEntities extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -45,4 +45,4 @@ class ProjectIdsToEntities extends Migration
public function down()
{
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ProjectNameUniqueRemoval extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -70,4 +70,4 @@ class ProjectNameUniqueRemoval extends Migration
{
//
}
}
};

View File

@ -13,7 +13,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ExpensesNullableAssignedUser extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -36,4 +36,4 @@ class ExpensesNullableAssignedUser extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CompanyTableFields extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -33,4 +33,4 @@ class CompanyTableFields extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class TasksInvoiceDocuments extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -43,4 +43,4 @@ class TasksInvoiceDocuments extends Migration
{
//
}
}
};

View File

@ -3,7 +3,7 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
class StatusSortOrder extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class StatusSortOrder extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AssignedUserTasksTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class AssignedUserTasksTable extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class VendorsPhoneColumn extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class VendorsPhoneColumn extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeStartTimeColumnType extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class ChangeStartTimeColumnType extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class TasksTableProjectNullable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class TasksTableProjectNullable extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeDefaultShowTasksTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class ChangeDefaultShowTasksTable extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeExpenseCurrencyIdColumn extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -31,4 +31,4 @@ class ChangeExpenseCurrencyIdColumn extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class DropMigratingColumn extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class DropMigratingColumn extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CompanyGatewayFieldsRefactor extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -33,4 +33,4 @@ class CompanyGatewayFieldsRefactor extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CustomFieldsForPaymentsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -30,4 +30,4 @@ class CustomFieldsForPaymentsTable extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CompanyGatewayRenameColumn extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class CompanyGatewayRenameColumn extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class SoftDeletePaymentables extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class SoftDeletePaymentables extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class TaskFields extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -31,4 +31,4 @@ class TaskFields extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddEnableProductDiscountFieldToCompaniesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -29,4 +29,4 @@ class AddEnableProductDiscountFieldToCompaniesTable extends Migration
//
});
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeProductsTableCostResolution extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -29,4 +29,4 @@ class ChangeProductsTableCostResolution extends Migration
{
//
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class RemoveNullValuesInCountriesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -29,4 +29,4 @@ class RemoveNullValuesInCountriesTable extends Migration
//
});
}
}
};

View File

@ -4,7 +4,7 @@ use App\Models\Currency;
use App\Utils\Traits\AppSetup;
use Illuminate\Database\Migrations\Migration;
class UpdateCanadianDollarSymbol extends Migration
return new class extends Migration
{
use AppSetup;
@ -33,4 +33,4 @@ class UpdateCanadianDollarSymbol extends Migration
{
//
}
}
};

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ImproveDecimalResolution extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -156,4 +156,4 @@ class ImproveDecimalResolution extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use App\Models\Currency;
use App\Utils\Traits\AppSetup;
use Illuminate\Database\Migrations\Migration;
class UpdateSingaporeDollarSymbol extends Migration
return new class extends Migration
{
use AppSetup;
@ -33,4 +33,4 @@ class UpdateSingaporeDollarSymbol extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ExpensesTableAdditionalFields extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -36,4 +36,4 @@ class ExpensesTableAdditionalFields extends Migration
{
//
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class FixCompanySettingsUrl extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -50,4 +50,4 @@ class FixCompanySettingsUrl extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeCustomSurchargeColumnType extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -51,4 +51,4 @@ class ChangeCustomSurchargeColumnType extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class SchedulerIsRunningCheck extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class SchedulerIsRunningCheck extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddPaidToDateColumn extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -38,4 +38,4 @@ class AddPaidToDateColumn extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddNumberFieldToClientsAndVendors extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -40,4 +40,4 @@ class AddNumberFieldToClientsAndVendors extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddPermissionChangedTimestamp extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class AddPermissionChangedTimestamp extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AdditionalCompanyProperties extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -28,4 +28,4 @@ class AdditionalCompanyProperties extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class EmailLastConfirmedEmailAddressUsersTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class EmailLastConfirmedEmailAddressUsersTable extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class EnumInvitationsEmailStatus extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -39,4 +39,4 @@ class EnumInvitationsEmailStatus extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddInvoiceTaskDatelogProperty extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class AddInvoiceTaskDatelogProperty extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddHasPasswordFieldToUserTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class AddHasPasswordFieldToUserTable extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBillingSubscriptionsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -73,4 +73,4 @@ class CreateBillingSubscriptionsTable extends Migration
Schema::dropIfExists('billing_subscriptions');
Schema::dropIfExists('client_subscriptions');
}
}
};

View File

@ -7,7 +7,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddRussianLang extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -37,4 +37,4 @@ class AddRussianLang extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCurrencyIdToBillingSubscriptionsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -38,4 +38,4 @@ class AddCurrencyIdToBillingSubscriptionsTable extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Change2faColumnFromVarcharToText extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class Change2faColumnFromVarcharToText extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddUniqueConstraintsOnAllEntities extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -24,4 +24,4 @@ class AddUniqueConstraintsOnAllEntities extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddInvoiceIdToClientSubscriptionsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -28,4 +28,4 @@ class AddInvoiceIdToClientSubscriptionsTable extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddNullableConstraintToRecurringInvoiceId extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class AddNullableConstraintToRecurringInvoiceId extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class RefactorBillingScriptionsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -38,4 +38,4 @@ class RefactorBillingScriptionsTable extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddPriceColumnToSubscriptionsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -41,4 +41,4 @@ class AddPriceColumnToSubscriptionsTable extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ModifyColumnOnSubscriptionsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class ModifyColumnOnSubscriptionsTable extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddTrialDurationToAccountsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class AddTrialDurationToAccountsTable extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddRestFieldsToWebhooksTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -30,4 +30,4 @@ class AddRestFieldsToWebhooksTable extends Migration
//
});
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateLicensesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -36,4 +36,4 @@ class CreateLicensesTable extends Migration
{
Schema::dropIfExists('licenses');
}
}
};

View File

@ -7,7 +7,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class StripeConnectGateway extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -44,4 +44,4 @@ class StripeConnectGateway extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddSubscriptionIdToActivitiesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class AddSubscriptionIdToActivitiesTable extends Migration
public function down()
{
}
}
};

View File

@ -7,7 +7,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddPropertyToCheckoutGatewayConfig extends Migration
return new class extends Migration
{
use AppSetup;
@ -50,4 +50,4 @@ class AddPropertyToCheckoutGatewayConfig extends Migration
public function down()
{
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddNumberYearsActiveToCompanyUsersTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -32,4 +32,4 @@ class AddNumberYearsActiveToCompanyUsersTable extends Migration
public function down()
{
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class MakeBraintreeProviderVisible extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class MakeBraintreeProviderVisible extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddTaskPropertyToCompaniesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class AddTaskPropertyToCompaniesTable extends Migration
public function down()
{
}
}
};

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ActivateWePay extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -29,4 +29,4 @@ class ActivateWePay extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddRecurringInvoiceIdToActivitiesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -32,4 +32,4 @@ class AddRecurringInvoiceIdToActivitiesTable extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use App\Models\Design;
use App\Utils\Ninja;
use Illuminate\Database\Migrations\Migration;
class AddTechDesign extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -46,4 +46,4 @@ class AddTechDesign extends Migration
{
//
}
}
};

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class MakeDocumentsAssignedUserNullable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -39,4 +39,4 @@ class MakeDocumentsAssignedUserNullable extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddNinjaPortalColumnToAccountsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class AddNinjaPortalColumnToAccountsTable extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class PaymentsTableCurrencyNullable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class PaymentsTableCurrencyNullable extends Migration
{
//
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ActivatePayfastPaymentDriver extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class ActivatePayfastPaymentDriver extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class SetInvoiceTaskDatelogTrueInCompaniesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class SetInvoiceTaskDatelogTrueInCompaniesTable extends Migration
public function down()
{
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ActivatePaytracePaymentDriver extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -34,4 +34,4 @@ class ActivatePaytracePaymentDriver extends Migration
{
//
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeEnglishLanguagesTables extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -29,4 +29,4 @@ class ChangeEnglishLanguagesTables extends Migration
{
//
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ActivateEwayPaymentDriver extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -35,4 +35,4 @@ class ActivateEwayPaymentDriver extends Migration
{
//
}
}
};

View File

@ -15,7 +15,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ActivateMolliePaymentDriver extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -46,4 +46,4 @@ class ActivateMolliePaymentDriver extends Migration
{
//
}
}
};

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddZellePaymentType extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -36,4 +36,4 @@ class AddZellePaymentType extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddMarkdownEnabledColumnToCompaniesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class AddMarkdownEnabledColumnToCompaniesTable extends Migration
public function down()
{
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddMoreLanguages extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -44,4 +44,4 @@ class AddMoreLanguages extends Migration
{
//
}
}
};

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class SquarePaymentDriver extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -44,4 +44,4 @@ class SquarePaymentDriver extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UseCommaAsDecimalPlaceCompaniesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -27,4 +27,4 @@ class UseCommaAsDecimalPlaceCompaniesTable extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class RecurringExpensesSchema extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -144,4 +144,4 @@ class RecurringExpensesSchema extends Migration
{
//
}
}
};

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ReportIncludeDraftsInCompaniesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -26,4 +26,4 @@ class ReportIncludeDraftsInCompaniesTable extends Migration
public function down()
{
}
}
};

View File

@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateBraintreeGateway extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -22,4 +22,4 @@ class UpdateBraintreeGateway extends Migration
$gateway->save();
}
}
}
};

View File

@ -9,7 +9,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class SetSquareTestModeBoolean extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -45,4 +45,4 @@ class SetSquareTestModeBoolean extends Migration
$gateway->save();
}
}
}
};

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCurrencies extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -53,4 +53,4 @@ class AddCurrencies extends Migration
public function down()
{
}
}
};

View File

@ -4,7 +4,7 @@ use App\Models\GatewayType;
use App\Models\PaymentType;
use Illuminate\Database\Migrations\Migration;
class AddMollieBankTransferToPaymentTypes extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -21,4 +21,4 @@ class AddMollieBankTransferToPaymentTypes extends Migration
$type->save();
}
}
};

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddKbcToPaymentTypes extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -23,4 +23,4 @@ class AddKbcToPaymentTypes extends Migration
$type->save();
}
}
};

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddBancontactToPaymentTypes extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -23,4 +23,4 @@ class AddBancontactToPaymentTypes extends Migration
$type->save();
}
}
};

View File

@ -13,7 +13,7 @@
use App\Models\Gateway;
use Illuminate\Database\Migrations\Migration;
class ActivateGocardlessPaymentDriver extends Migration
return new class extends Migration
{
/**
* Run the migrations.
@ -30,4 +30,4 @@ class ActivateGocardlessPaymentDriver extends Migration
$gateway->save();
}
}
}
};

Some files were not shown because too many files have changed in this diff Show More