fleet/server/datastore/mysql/migrations/tables
Zach Wasserman 6249beb465
Reorder migrations for pre-4.0 upgrades (#1114)
Reorder migrations from the long-running `teams` branch to ensure that
they can run successfully for deployments upgrading from a pre-4.0
release.

All migrations from the `teams` branch are reordered to take place
_after_ all migrations from the `main` branch, using `20210601` as the
new date, after the latest released `main` branch migration on `20210526`.

Fixes #1058
2021-06-16 11:58:00 -07:00
..
20161118193812_CreateTableAppConfigs.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118211713_CreateTableDistributedQueryCampaignTargets.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212436_CreateTableDistributedQueryCampaigns.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212515_CreateTableDistributedQueryExecutions.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212528_CreateTableHosts.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212538_CreateTableInvites.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212549_CreateTableLabelQueryExecutions.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212557_CreateTableLabels.go Remove kolide types and packages from backend (#974) 2021-06-06 15:07:29 -07:00
20161118212604_CreateTableOptions.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212613_CreateTableScheduledQueries.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212621_CreateTablePackTargets.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212630_CreateTablePacks.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212641_CreateTablePasswordResetRequests.go Remove default timestamp to fix strict error (#1720) 2018-05-04 11:10:17 -06:00
20161118212649_CreateTableUsers.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212656_CreateTableSessions.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161118212758_CreateTableQueries.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161128234849_CreateTableNetworkInterfaces.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20161230162221_AddUniqueIndexToPackTargets.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20170104113816_AddSeenTimeToHosts.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
20170105151732_AddNameIndexToQueryTable.go Import Config - /config/import #366 (#764) 2017-01-13 12:35:25 -06:00
20170108191242_CreateDecoratorTable.go Import Config - /config/import #366 (#764) 2017-01-13 12:35:25 -06:00
20170109094020_CreateFIMTables.go Import Config - /config/import #366 (#764) 2017-01-13 12:35:25 -06:00
20170109130438_CreateYARATables.go Import Config - /config/import #366 (#764) 2017-01-13 12:35:25 -06:00
20170110202752_DropSMTPEnabledFromAppConfigs.go SMTP API changes (#883) 2017-01-10 21:41:58 -07:00
20170111133013_AddUniqueIndexToQueries.go Enforce uniqueness on query name (#915) 2017-01-16 15:20:15 -07:00
20170117025759_IncreaseQueryLength.go Changed query columns to TEXT type (#969) 2017-01-17 03:20:11 +08:00
20170118191001_AddEnrollSecretToAppConfig.go move osquery enroll secret to appconfig (#1004) 2017-01-20 14:48:54 -05:00
20170119234632_IncreaseQueryDescriptionLength.go increase query description length (#1055) 2017-01-20 08:56:41 -05:00
20170124230432_CreateTableEmailChanges.go Allow user to change email with confirmation (#1102) 2017-01-27 21:35:58 +08:00
20170127014618_CreateTableLicense.go Licensing (#1123) 2017-02-03 04:30:59 +08:00
20170131232841_CreatePublicKeyTable.go Licensing (#1123) 2017-02-03 04:30:59 +08:00
20170223094154_AddTimestampsToNetworkInterfaces.go Fix flapping host network interfaces (#1283) 2017-02-24 14:37:47 -08:00
20170306075207_UseUTF8MB.go Update MySQL definitions for Unicode support 🔥 (#1360) 2017-03-08 09:29:25 -08:00
20170309100733_AddBuiltInColToDecorators.go Decorator support (#1430) 2017-03-28 16:45:18 -05:00
20170331111922_AddIntervalsToHosts.go Retrieve and store host checkin intervals (#1473) 2017-04-06 11:55:24 -07:00
20170502143928_AddIDPColsToAppConfig.go SSO Login and Configuration Support (#1506) 2017-05-17 10:58:40 -05:00
20170504130602_AddSSOColToInvites.go SSO Login and Configuration Support (#1506) 2017-05-17 10:58:40 -05:00
20170509132100_AddSSOFlagToUser.go SSO Login and Configuration Support (#1506) 2017-05-17 10:58:40 -05:00
20170519105647_AddNameToDecorators.go Continue to update names in backend code and docs (#976) 2021-06-06 16:58:23 -07:00
20170519105648_AddFIMMonitoringIntervalToConfig.go Added FIM support (#1548) 2017-08-18 10:37:33 -05:00
20170831234300_DropLicenses.go removing license code (#1551) 2017-09-01 10:42:46 -06:00
20170831234301_DropPublicKeys.go removing license code (#1551) 2017-09-01 10:42:46 -06:00
20170831234303_AddColumnFimFileAccessToConfig.go Add FileAccesses to FIM Configuration (#1717) 2018-02-26 12:54:13 -08:00
20171116163618_CreateTableOsqueryOptions.go Format and clean code (#774) 2021-05-17 10:29:50 -07:00
20171219164727_UpdateScheduledQueryKey.go Fix error when migrating packs and scheduled query has been deleted. (#1851) 2018-06-26 09:54:45 -07:00
20180620164811_PackAndQueryDeletion.go Fix deletion of queries referenced by foreign key (#1842) 2018-06-20 17:32:43 -07:00
20180620175054_ScheduledQueryNameKeys.go Fix bugs with packs created in UI (#1843) 2018-06-21 17:06:44 -07:00
20180620175055_UpdateScheduledQueryNameConstraint.go Fix bug preventing rename of queries scheduled in packs (#1921) 2018-09-12 11:25:35 -07:00
20191010101639_AddHostExpiryToAppConfig.go.go Add automatic host expiration capability (#2117) 2019-10-16 16:35:17 -07:00
20191010155147_UpdateTableHostsSearchIndex.go Allow host search by UUID (#2116) 2019-10-16 10:12:35 -07:00
20191220130734_AddLiveQueryDisabledToAppConfig.go Add ability to disable live queries (#2167) 2020-01-13 16:53:04 -08:00
20200311140000_AddHostMacAndIp.go Store only primary IP and MAC for hosts 2020-07-21 14:05:46 -07:00
20200405120000_UpdateLabelStorage.go Refactor label membership storage 2020-07-21 14:05:46 -07:00
20200407120000_AddLabelMembershipType.go Implement manual labels 2020-07-21 14:05:46 -07:00
20200420120000_CleanupCampaigns.go Move live query operations from MySQL to Redis 2020-07-21 14:05:46 -07:00
20200504120000_AddAdditionalToHosts.go Add host enrollment cooldown period (#112) 2020-12-10 11:04:58 -08:00
20200512120000_CreateTableEnrollSecrets.go Fix empty enroll secret before setup. (#182) 2021-01-07 14:12:51 -08:00
20200707120000_DropUnusedTables.go Clean up unused DB tables, migrations, and code (#2258) 2020-07-08 13:02:18 -07:00
20201011162341_CleanupSoftDeletedColumns.go Remove soft-deletion pattern (#2327) 2020-10-22 10:51:26 -07:00
20201021104586_CreateCarveTables.go Add file carving support (#15) 2020-11-04 20:45:16 -08:00
20201102112520_ModifyEnrollSecretNodeKeyCollation.go Format and clean code (#774) 2021-05-17 10:29:50 -07:00
20201208121729_AddLastEnrollmentTimeToHosts.go Add host enrollment cooldown period (#112) 2020-12-10 11:04:58 -08:00
20201215091637_ModifyCarveMetadataForS3.go Add AWS S3 as file carving backend (#126) 2020-12-16 09:16:55 -08:00
20210119174155_AddDenylistToScheduledQueries.go Add support for denylist parameter in scheduled queries (#209) 2021-01-25 16:26:14 -08:00
20210326182902_AddEnableSSOIdPLogin.go Add support for IdP-initiated SSO login (#556) 2021-03-30 12:56:20 -07:00
20210421112652_AddSoftwareInventory.go Improved handling for long values in software inventory (#682) 2021-04-26 14:01:05 -07:00
20210506095025_AddScheduledQueryStats.go Fix foreign key cascade for query stats table (#776) 2021-05-17 10:26:01 -07:00
20210513115729_RefetchHostDetail.go Add refetch host API (#767) 2021-05-13 13:09:22 -07:00
20210526113559_MoveHostAdditionalToSeparateTable.go Split host additional into separate table (#875) 2021-05-26 16:24:12 -07:00
20210601000001_CreateTeamsTables.go Reorder migrations for pre-4.0 upgrades (#1114) 2021-06-16 11:58:00 -07:00
20210601000002_AddRolesToInvites.go Reorder migrations for pre-4.0 upgrades (#1114) 2021-06-16 11:58:00 -07:00
20210601000003_MigrateAdmin.go Reorder migrations for pre-4.0 upgrades (#1114) 2021-06-16 11:58:00 -07:00
20210601000004_DeleteUsers.go Reorder migrations for pre-4.0 upgrades (#1114) 2021-06-16 11:58:00 -07:00
20210601000005_TeamsAgentOptions.go Reorder migrations for pre-4.0 upgrades (#1114) 2021-06-16 11:58:00 -07:00
20210601000006_TeamsGlobalAgentOptions.go Reorder migrations for pre-4.0 upgrades (#1114) 2021-06-16 11:58:00 -07:00
20210601000007_TeamsObserverQueries.go Reorder migrations for pre-4.0 upgrades (#1114) 2021-06-16 11:58:00 -07:00
20210601000008_TeamsEnrollSecrets.go Reorder migrations for pre-4.0 upgrades (#1114) 2021-06-16 11:58:00 -07:00
20210606151329_MigrateNames.go Continue to update names in backend code and docs (#976) 2021-06-06 16:58:23 -07:00
deprecated_types.go Clean up unused DB tables, migrations, and code (#2258) 2020-07-08 13:02:18 -07:00
migration.go Update database migration tooling (#281) 2021-02-05 09:48:06 -08:00