Pterodactyl-Panel/database/migrations
Dane Everitt e3178ba6f0
backend: support is_successful state for backups rather than deleting it when failing
This allows the UI to correctly show failed backups to the user and require them to manually delete those backups, rather than them mysteriously disappearing.

We can also hook into this later to send a notification to the user when the backup fails.
2020-08-20 21:07:53 -07:00
..
2016_01_23_195641_add_allocations_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_195851_add_api_keys.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200044_add_api_permissions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200159_add_downloads.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200421_create_failed_jobs_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200440_create_jobs_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200528_add_locations.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200648_add_nodes.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_201433_add_password_resets.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_201531_add_permissions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_201649_add_server_variables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_201748_add_servers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_202544_add_service_options.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_202731_add_service_varibles.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_202943_add_services.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_203119_create_settings_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_203150_add_subusers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_203159_add_users.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_203947_create_sessions_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_25_234418_rename_permissions_column.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_07_172148_add_databases_tables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_07_181319_add_database_servers_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_13_154306_add_service_option_default_startup.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_20_155318_add_unique_service_field.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_27_163411_add_tasks_table.php Fix failing migrations 2017-09-24 21:22:14 -05:00
2016_02_27_163447_add_tasks_log_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_03_18_155649_add_nullable_field_lastrun.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_08_30_212718_add_ip_alias.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_08_30_213301_modify_ip_storage_method.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_01_193520_add_suspension_for_servers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_01_211924_remove_active_column.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_02_190647_add_sftp_password_storage.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_04_171338_update_jobs_tables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_04_172028_update_failed_jobs_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_04_182835_create_notifications_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_07_163017_add_unique_identifier.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_14_145945_allow_longer_regex_field.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_17_194246_add_docker_image_column.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_21_165554_update_servers_column_name.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_29_213518_rename_double_insurgency.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_07_152117_build_api_log_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_14_164802_update_api_keys.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_181719_update_misnamed_bungee.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_193810_add_foreign_keys_servers.php MySQL 8 fix 2019-10-15 18:28:46 -04:00
2016_10_23_201624_add_foreign_allocations.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_202222_add_foreign_api_keys.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_202703_add_foreign_api_permissions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_202953_add_foreign_database_servers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_203105_add_foreign_databases.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_203335_add_foreign_nodes.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_203522_add_foreign_permissions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_203857_add_foreign_server_variables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_204157_add_foreign_service_options.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_204321_add_foreign_service_variables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_204454_add_foreign_subusers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_204610_add_foreign_tasks.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_11_04_000949_add_ark_service_option_fixed.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_11_11_220649_add_pack_support.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_11_11_231731_set_service_name_unique.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_11_27_142519_add_pack_column.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_12_01_173018_add_configurable_upload_limit.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_12_02_185206_correct_service_variables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_01_03_150436_fix_misnamed_option_tag.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_01_07_154228_create_node_configuration_tokens_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_01_12_135449_add_more_user_data.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_02_175548_UpdateColumnNames.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_03_140948_UpdateNodesTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_03_155554_RenameColumns.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_05_164123_AdjustColumnNames.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_05_164516_AdjustColumnNamesForServicePacks.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_09_174834_SetupPermissionsPivotTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_10_171858_UpdateAPIKeyColumnNames.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_03_224254_UpdateNodeConfigTokensColumns.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_05_212803_DeleteServiceExecutableOption.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_03_10_162934_AddNewServiceOptionsColumns.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_10_173607_MigrateToNewServiceSystem.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_03_11_215455_ChangeServiceVariablesValidationRules.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_03_12_150648_MoveFunctionsFromFileToDatabase.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_03_14_175631_RenameServicePacksToSingluarPacks.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_14_200326_AddLockedStatusToTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_16_181109_ReOrganizeDatabaseServersToDatabaseHost.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_16_181515_CleanupDatabasesDatabase.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_18_204953_AddForeignKeyToPacks.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_31_221948_AddServerDescriptionColumn.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_02_163232_DropDeletedAtColumnFromServers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_15_125021_UpgradeTaskSystem.php Fix broken migration rollbacks 2018-03-04 15:21:54 -06:00
2017_04_20_171943_AddScriptsToServiceOptions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_21_151432_AddServiceScriptTrackingToServers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_27_145300_AddCopyScriptFromColumn.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_27_223629_AddAbilityToDefineConnectionOverSSLWithDaemonBehindProxy.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_05_01_141528_DeleteDownloadTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_05_01_141559_DeleteNodeConfigurationTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_06_10_152951_add_external_id_to_users.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_06_25_133923_ChangeForeignKeyToBeOnCascadeDelete.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_07_08_152806_ChangeUserPermissionsToDeleteOnUserDeletion.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_07_08_154416_SetAllocationToReferenceNullOnServerDelete.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_07_08_154650_CascadeDeletionWhenAServerOrVariableIsDeleted.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_07_24_194433_DeleteTaskWhenParentServerIsDeleted.php cs fix 2020-06-28 15:43:44 -07:00
2017_08_05_115800_CascadeNullValuesForDatabaseHostWhenNodeIsDeleted.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_08_05_144104_AllowNegativeValuesForOverallocation.php Fix DB migrations to allow rollbacks 2017-08-23 12:34:34 -07:00
2017_08_05_174811_SetAllocationUnqiueUsingMultipleFields.php Fix DB migrations to allow rollbacks 2017-08-23 12:34:34 -07:00
2017_08_15_214555_CascadeDeletionWhenAParentServiceIsDeleted.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_08_18_215428_RemovePackWhenParentServiceOptionIsDeleted.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_09_10_225749_RenameTasksTableForStructureRefactor.php These migrations... work?? 🐋 2017-09-11 01:15:44 -05:00
2017_09_10_225941_CreateSchedulesTable.php Begin refactoring Tasks to be apart of the Scheduler system 2017-09-12 23:45:19 -05:00
2017_09_10_230309_CreateNewTasksTableForSchedules.php These migrations... work?? 🐋 2017-09-11 01:15:44 -05:00
2017_09_11_002938_TransferOldTasksToNewScheduler.php These migrations... work?? 🐋 2017-09-11 01:15:44 -05:00
2017_09_13_211810_UpdateOldPermissionsToPointToNewScheduleSystem.php More schedule changes 2017-09-13 21:46:43 -05:00
2017_09_23_170933_CreateDaemonKeysTable.php Begin implementation of new daemon authentication scheme 2017-09-23 20:45:25 -05:00
2017_09_23_173628_RemoveDaemonSecretFromServersTable.php Final adjustments to Daemon <-> Panel communication change 2017-09-24 21:12:30 -05:00
2017_09_23_185022_RemoveDaemonSecretFromSubusersTable.php First push before 🥚 2017-10-06 21:22:32 -05:00
2017_10_02_202000_ChangeServicesToUseAMoreUniqueIdentifier.php Fix all StyleCI errors and probably break everything in the process 2020-04-11 14:07:40 -06:00
2017_10_02_202007_ChangeToABetterUniqueServiceConfiguration.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_10_03_233202_CascadeDeletionWhenServiceOptionIsDeleted.php Delete service variables when the option is deleted. 2017-10-03 23:33:46 -05:00
2017_10_06_214026_ServicesToNestsConversion.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_10_06_214053_ServiceOptionsToEggsConversion.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_10_06_215741_ServiceVariablesToEggVariablesConversion.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_10_24_222238_RemoveLegacySFTPInformation.php Implement Panel changes to support internal SFTP subsystem on Daemon (#703) 2017-10-25 00:35:25 -04:00
2017_11_11_161922_Add2FaLastAuthorizationTimeColumn.php Implement changes to 2FA system (#761) 2017-11-18 13:35:33 -05:00
2017_11_19_122708_MigratePubPrivFormatToSingleKey.php Change how API keys are validated (#771) 2017-12-03 14:29:14 -06:00
2017_12_04_184012_DropAllocationsWhenNodeIsDeleted.php Fix forgotten migration that caused node deletions to not be cascaded to all allocations. 2017-12-04 18:43:19 -06:00
2017_12_12_220426_MigrateSettingsTableToNewFormat.php Implement a better management interface for Settings (#809) 2017-12-14 21:05:26 -06:00
2018_01_01_122821_AllowNegativeValuesForServerSwap.php Fix unability to store '-1' in the database properly 2018-01-01 12:32:33 -06:00
2018_01_11_213943_AddApiKeyPermissionColumns.php Fix broken migration rollbacks 2018-03-04 15:21:54 -06:00
2018_01_13_142012_SetupTableForKeyEncryption.php Theoretically fix migration issues for api_key table 2018-03-02 18:37:39 -06:00
2018_01_13_145209_AddLastUsedAtColumn.php Implement application API Keys 2018-01-18 21:36:15 -06:00
2018_02_04_145617_AllowTextInUserExternalId.php Fix bad API behavior 2018-02-04 15:38:38 -06:00
2018_02_10_151150_remove_unique_index_on_external_id_column.php Fixes #921 2018-02-10 15:58:34 -06:00
2018_02_17_134254_ensure_unique_allocation_id_on_servers_table.php Fix broken migration rollbacks 2018-03-04 15:21:54 -06:00
2018_02_24_112356_add_external_id_column_to_servers_table.php Add support for external_id on servers, closes #975 2018-02-24 11:57:12 -06:00
2018_02_25_160152_remove_default_null_value_on_table.php Formatting fix 2018-02-25 16:10:28 -06:00
2018_02_25_160604_define_unique_index_on_users_external_id.php Fix broken users table in database causing validation errors. 2018-02-25 16:08:01 -06:00
2018_03_01_192831_add_database_and_port_limit_columns_to_servers_table.php Add core logic to allow for limited databases and allocations 2018-03-01 20:08:27 -06:00
2018_03_15_124536_add_description_to_nodes.php Remove unused imports (#1102) 2018-04-08 15:37:27 -05:00
2018_05_04_123826_add_maintenance_to_nodes.php Apply fixes from StyleCI 2018-06-02 21:32:26 +00:00
2018_09_03_143756_allow_egg_variables_to_have_longer_values.php Dont limit length of variable values, closes #1264 2018-09-03 14:43:05 -07:00
2018_09_03_144005_allow_server_variables_to_have_longer_values.php Dont limit length of variable values, closes #1264 2018-09-03 14:43:05 -07:00
2019_03_02_142328_set_allocation_limit_default_null.php [#1500] Fix allocation limit being required even though it isn't used. 2019-03-02 14:27:01 -08:00
2019_03_02_151321_fix_unique_index_to_account_for_host.php Prevent an exception when creating databases with the same name on multiple hosts. 2019-03-02 15:31:25 -08:00
2020_03_22_163911_merge_permissions_table_into_subusers.php Fix all StyleCI errors and probably break everything in the process 2020-04-11 14:07:40 -06:00
2020_03_22_164814_drop_permissions_table.php Pass at removing extraneous permissions table and using native MySQL JSON 2020-03-22 16:56:00 -07:00
2020_04_03_203624_add_threads_column_to_servers_table.php Move threads column to the 2020-04-11 23:26:23 -04:00
2020_04_03_230614_create_backups_table.php Fix all StyleCI errors and probably break everything in the process 2020-04-11 14:07:40 -06:00
2020_04_04_131016_add_table_server_transfers.php Cleanup migration 2020-04-10 14:02:16 -07:00
2020_04_10_141024_store_node_tokens_as_encrypted_value.php Fix all StyleCI errors and probably break everything in the process 2020-04-11 14:07:40 -06:00
2020_04_17_203438_allow_nullable_descriptions.php cs fix 2020-06-28 15:43:44 -07:00
2020_04_22_055500_add_max_connections_column.php cs fix 2020-06-28 15:43:44 -07:00
2020_04_26_111208_add_backup_limit_to_servers.php cs fix 2020-06-28 15:43:44 -07:00
2020_05_20_234655_add_mounts_table.php Add mount_server table, fix wrong field type on other many to many tables, add routes for mounting and unmounting mounts on a server, finish server admin mounts page 2020-05-21 14:23:12 -06:00
2020_05_21_192756_add_mount_server_table.php Fix even more StyleCI issues 2020-05-21 14:27:23 -06:00
2020_07_02_213612_create_user_recovery_tokens_table.php Fix logic when generating recovery codes and update migration 2020-07-02 22:11:07 -07:00
2020_07_09_201845_add_notes_column_for_allocations.php Update allocations to support ids; protect endpoints; support notes 2020-07-09 20:36:08 -07:00
2020_08_20_205533_add_backup_state_column_to_backups.php backend: support is_successful state for backups rather than deleting it when failing 2020-08-20 21:07:53 -07:00