Adopt anonymous migrations
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateBanlistTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateBanlistTable extends Migration
|
||||
{
|
||||
Schema::drop('banlist');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateCannedResponseTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateCannedResponseTable extends Migration
|
||||
{
|
||||
Schema::drop('canned_response');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateCustomFormFieldsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class CreateCustomFormFieldsTable extends Migration
|
||||
{
|
||||
Schema::drop('custom_form_fields');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateCustomFormsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class CreateCustomFormsTable extends Migration
|
||||
{
|
||||
Schema::drop('custom_forms');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateDateFormatTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -27,4 +27,4 @@ class CreateDateFormatTable extends Migration
|
||||
{
|
||||
Schema::drop('date_format');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateDateTimeFormatTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -27,4 +27,4 @@ class CreateDateTimeFormatTable extends Migration
|
||||
{
|
||||
Schema::drop('date_time_format');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateDepartmentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -40,4 +40,4 @@ class CreateDepartmentTable extends Migration
|
||||
{
|
||||
Schema::drop('department');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateEmailsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -58,4 +58,4 @@ class CreateEmailsTable extends Migration
|
||||
{
|
||||
Schema::drop('emails');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateGroupAssignDepartmentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class CreateGroupAssignDepartmentTable extends Migration
|
||||
{
|
||||
Schema::drop('group_assign_department');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateGroupsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -42,4 +42,4 @@ class CreateGroupsTable extends Migration
|
||||
{
|
||||
Schema::drop('groups');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateHelpTopicTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -41,4 +41,4 @@ class CreateHelpTopicTable extends Migration
|
||||
{
|
||||
Schema::drop('help_topic');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateKbArticleRelationshipTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class CreateKbArticleRelationshipTable extends Migration
|
||||
{
|
||||
Schema::drop('kb_article_relationship');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateKbArticleTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class CreateKbArticleTable extends Migration
|
||||
{
|
||||
Schema::drop('kb_article');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateKbCategoryTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateKbCategoryTable extends Migration
|
||||
{
|
||||
Schema::drop('kb_category');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateKbCommentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class CreateKbCommentTable extends Migration
|
||||
{
|
||||
Schema::drop('kb_comment');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateKbPagesTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateKbPagesTable extends Migration
|
||||
{
|
||||
Schema::drop('kb_pages');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateKbSettingsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class CreateKbSettingsTable extends Migration
|
||||
{
|
||||
Schema::drop('kb_settings');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateLanguagesTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class CreateLanguagesTable extends Migration
|
||||
{
|
||||
Schema::drop('languages');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateLogNotificationTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class CreateLogNotificationTable extends Migration
|
||||
{
|
||||
Schema::drop('log_notification');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateMailboxProtocolTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class CreateMailboxProtocolTable extends Migration
|
||||
{
|
||||
Schema::drop('mailbox_protocol');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateOrganizationTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class CreateOrganizationTable extends Migration
|
||||
{
|
||||
Schema::drop('organization');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreatePasswordResetsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class CreatePasswordResetsTable extends Migration
|
||||
{
|
||||
Schema::drop('password_resets');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreatePluginsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreatePluginsTable extends Migration
|
||||
{
|
||||
Schema::drop('plugins');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSettingsAlertNoticeTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -56,4 +56,4 @@ class CreateSettingsAlertNoticeTable extends Migration
|
||||
{
|
||||
Schema::drop('settings_alert_notice');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSettingsAutoResponseTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateSettingsAutoResponseTable extends Migration
|
||||
{
|
||||
Schema::drop('settings_auto_response');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSettingsCompanyTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -36,4 +36,4 @@ class CreateSettingsCompanyTable extends Migration
|
||||
{
|
||||
Schema::drop('settings_company');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSettingsEmailTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -39,4 +39,4 @@ class CreateSettingsEmailTable extends Migration
|
||||
{
|
||||
Schema::drop('settings_email');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSettingsRatingsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -31,4 +31,4 @@ class CreateSettingsRatingsTable extends Migration
|
||||
{
|
||||
Schema::drop('settings_ratings');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSettingsSystemTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -45,4 +45,4 @@ class CreateSettingsSystemTable extends Migration
|
||||
{
|
||||
Schema::drop('settings_system');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSettingsTicketTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -44,4 +44,4 @@ class CreateSettingsTicketTable extends Migration
|
||||
{
|
||||
Schema::drop('settings_ticket');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSlaPlanTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class CreateSlaPlanTable extends Migration
|
||||
{
|
||||
Schema::drop('sla_plan');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTeamAssignAgentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class CreateTeamAssignAgentTable extends Migration
|
||||
{
|
||||
Schema::drop('team_assign_agent');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTeamsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateTeamsTable extends Migration
|
||||
{
|
||||
Schema::drop('teams');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTemplateTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateTemplateTable extends Migration
|
||||
{
|
||||
Schema::drop('template');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTicketAttachmentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -34,4 +34,4 @@ class CreateTicketAttachmentTable extends Migration
|
||||
{
|
||||
Schema::drop('ticket_attachment');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTicketCollaboratorTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -31,4 +31,4 @@ class CreateTicketCollaboratorTable extends Migration
|
||||
{
|
||||
Schema::drop('ticket_collaborator');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTicketFormDataTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateTicketFormDataTable extends Migration
|
||||
{
|
||||
Schema::drop('ticket_form_data');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTicketPriorityTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -34,4 +34,4 @@ class CreateTicketPriorityTable extends Migration
|
||||
{
|
||||
Schema::drop('ticket_priority');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTicketSourceTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class CreateTicketSourceTable extends Migration
|
||||
{
|
||||
Schema::drop('ticket_source');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTicketStatusTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -36,4 +36,4 @@ class CreateTicketStatusTable extends Migration
|
||||
{
|
||||
Schema::drop('ticket_status');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTicketThreadTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -39,4 +39,4 @@ class CreateTicketThreadTable extends Migration
|
||||
{
|
||||
Schema::drop('ticket_thread');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTicketsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -58,4 +58,4 @@ class CreateTicketsTable extends Migration
|
||||
{
|
||||
Schema::drop('tickets');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTimeFormatTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -27,4 +27,4 @@ class CreateTimeFormatTable extends Migration
|
||||
{
|
||||
Schema::drop('time_format');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTimezoneTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class CreateTimezoneTable extends Migration
|
||||
{
|
||||
Schema::drop('timezone');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateUserAssignOrganizationTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class CreateUserAssignOrganizationTable extends Migration
|
||||
{
|
||||
Schema::drop('user_assign_organization');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateUsersTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -55,4 +55,4 @@ class CreateUsersTable extends Migration
|
||||
{
|
||||
Schema::drop('users');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateVersionCheckTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class CreateVersionCheckTable extends Migration
|
||||
{
|
||||
Schema::drop('version_check');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateWidgetsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateWidgetsTable extends Migration
|
||||
{
|
||||
Schema::drop('widgets');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToCannedResponseTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class AddForeignKeysToCannedResponseTable extends Migration
|
||||
$table->dropForeign('canned_response_ibfk_1');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToDepartmentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class AddForeignKeysToDepartmentTable extends Migration
|
||||
$table->dropForeign('department_ibfk_2');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToEmailsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class AddForeignKeysToEmailsTable extends Migration
|
||||
$table->dropForeign('emails_ibfk_3');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToGroupAssignDepartmentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class AddForeignKeysToGroupAssignDepartmentTable extends Migration
|
||||
$table->dropForeign('group_assign_department_ibfk_2');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToHelpTopicTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -38,4 +38,4 @@ class AddForeignKeysToHelpTopicTable extends Migration
|
||||
$table->dropForeign('help_topic_ibfk_6');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToKbArticleRelationshipTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class AddForeignKeysToKbArticleRelationshipTable extends Migration
|
||||
$table->dropForeign('article_relationship_category_id_foreign');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToKbCommentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class AddForeignKeysToKbCommentTable extends Migration
|
||||
$table->dropForeign('comment_article_id_foreign');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToOrganizationTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class AddForeignKeysToOrganizationTable extends Migration
|
||||
$table->dropForeign('organization_ibfk_1');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToSettingsSystemTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -34,4 +34,4 @@ class AddForeignKeysToSettingsSystemTable extends Migration
|
||||
$table->dropForeign('settings_system_ibfk_4');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToTeamAssignAgentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class AddForeignKeysToTeamAssignAgentTable extends Migration
|
||||
$table->dropForeign('team_assign_agent_ibfk_2');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToTeamsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class AddForeignKeysToTeamsTable extends Migration
|
||||
$table->dropForeign('teams_ibfk_1');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToTicketAttachmentTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class AddForeignKeysToTicketAttachmentTable extends Migration
|
||||
$table->dropForeign('ticket_attachment_ibfk_1');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToTicketCollaboratorTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class AddForeignKeysToTicketCollaboratorTable extends Migration
|
||||
$table->dropForeign('ticket_collaborator_ibfk_2');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToTicketFormDataTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class AddForeignKeysToTicketFormDataTable extends Migration
|
||||
$table->dropForeign('ticket_form_data_ibfk_1');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToTicketThreadTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class AddForeignKeysToTicketThreadTable extends Migration
|
||||
$table->dropForeign('ticket_thread_ibfk_3');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToTicketsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -44,4 +44,4 @@ class AddForeignKeysToTicketsTable extends Migration
|
||||
$table->dropForeign('tickets_ibfk_9');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToUserAssignOrganizationTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class AddForeignKeysToUserAssignOrganizationTable extends Migration
|
||||
$table->dropForeign('user_assign_organization_ibfk_2');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AddForeignKeysToUsersTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class AddForeignKeysToUsersTable extends Migration
|
||||
$table->dropForeign('users_ibfk_2');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateNotificationsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateNotificationsTable extends Migration
|
||||
{
|
||||
Schema::drop('notifications');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateNotificationTypesTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateNotificationTypesTable extends Migration
|
||||
{
|
||||
Schema::drop('notification_types');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateUserNotificationTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateUserNotificationTable extends Migration
|
||||
{
|
||||
Schema::drop('user_notification');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateWorkflowNameTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateWorkflowNameTable extends Migration
|
||||
{
|
||||
Schema::drop('workflow_name');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateWorkflowRuleTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -39,4 +39,4 @@ class CreateWorkflowRuleTable extends Migration
|
||||
});
|
||||
Schema::drop('workflow_rules');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateWorkflowActionTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -36,4 +36,4 @@ class CreateWorkflowActionTable extends Migration
|
||||
$table->dropForeign('workflow_action_idfk_1');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateCountryCodeTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class CreateCountryCodeTable extends Migration
|
||||
{
|
||||
Schema::drop('country_code');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateBarNotificationsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateBarNotificationsTable extends Migration
|
||||
{
|
||||
Schema::drop('bar_notifications');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateApiSettingsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class CreateApiSettingsTable extends Migration
|
||||
{
|
||||
Schema::drop('api_settings');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateWorkflowCloseTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -31,4 +31,4 @@ class CreateWorkflowCloseTable extends Migration
|
||||
{
|
||||
Schema::drop('workflow_close');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateCommonSettingsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -31,4 +31,4 @@ class CreateCommonSettingsTable extends Migration
|
||||
{
|
||||
Schema::drop('common_settings');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateLoginAttemptsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -31,4 +31,4 @@ class CreateLoginAttemptsTable extends Migration
|
||||
{
|
||||
Schema::drop('login_attempts');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateRatingsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class CreateRatingsTable extends Migration
|
||||
{
|
||||
Schema::drop('ratings');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateRatingRefTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -31,4 +31,4 @@ class CreateRatingRefTable extends Migration
|
||||
{
|
||||
Schema::drop('rating_ref');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSettingsSecurityTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateSettingsSecurityTable extends Migration
|
||||
{
|
||||
Schema::drop('settings_security');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTemplatesTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -34,4 +34,4 @@ class CreateTemplatesTable extends Migration
|
||||
{
|
||||
Schema::drop('templates');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTemplateSetsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class CreateTemplateSetsTable extends Migration
|
||||
{
|
||||
Schema::drop('template_sets');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTemplateTypesTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -28,4 +28,4 @@ class CreateTemplateTypesTable extends Migration
|
||||
{
|
||||
Schema::drop('settings_types');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTicketTokenTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class CreateTicketTokenTable extends Migration
|
||||
{
|
||||
Schema::drop('ticket_token');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class Version1079table extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class Version1079table extends Migration
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateJobsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -34,4 +34,4 @@ class CreateJobsTable extends Migration
|
||||
{
|
||||
Schema::drop('jobs');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateFailedJobsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateFailedJobsTable extends Migration
|
||||
{
|
||||
Schema::drop('failed_jobs');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateFieldValuesTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateFieldValuesTable extends Migration
|
||||
{
|
||||
Schema::drop('field_values');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateFaveoMailsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -31,4 +31,4 @@ class CreateFaveoMailsTable extends Migration
|
||||
{
|
||||
Schema::drop('faveo_mails');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateFaveoQueuesTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateFaveoQueuesTable extends Migration
|
||||
{
|
||||
Schema::drop('faveo_queues');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateMailServicesTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class CreateMailServicesTable extends Migration
|
||||
{
|
||||
Schema::drop('mail_services');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateQueueServicesTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class CreateQueueServicesTable extends Migration
|
||||
{
|
||||
Schema::drop('queue_services');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateConditionsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class CreateConditionsTable extends Migration
|
||||
{
|
||||
Schema::drop('conditions');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSocialMediaTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -30,4 +30,4 @@ class CreateSocialMediaTable extends Migration
|
||||
{
|
||||
Schema::drop('social_media');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateUserAdditionalInfosTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -31,4 +31,4 @@ class CreateUserAdditionalInfosTable extends Migration
|
||||
{
|
||||
Schema::drop('user_additional_infos');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class AlterTicketSourceTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -33,4 +33,4 @@ class AlterTicketSourceTable extends Migration
|
||||
//
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AlterUsersTableAddUserLanguageColumn extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -32,4 +32,4 @@ class AlterUsersTableAddUserLanguageColumn extends Migration
|
||||
$table->dropIfExists('user_language');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AlterEmailsTableMakeUsernameColumnNullable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -29,4 +29,4 @@ class AlterEmailsTableMakeUsernameColumnNullable extends Migration
|
||||
$table->string('user_name')->nullable(false)->change();
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -6,7 +6,7 @@ use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class AddUuidToFailedJobsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -37,4 +37,4 @@ class AddUuidToFailedJobsTable extends Migration
|
||||
$table->dropColumn('uuid');
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user