Adopt anonymous migrations

This commit is contained in:
Shift
2023-01-07 20:57:47 +00:00
parent 927f9a4fa6
commit 8e812e3c50
100 changed files with 200 additions and 200 deletions

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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
}
}
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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');
}
}
};

View File

@@ -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
//
});
}
}
};

View File

@@ -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');
});
}
}
};

View File

@@ -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();
});
}
}
};

View File

@@ -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');
});
}
}
};