1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00
bitwarden-server/util/Migrator/DbScripts
Matt Gibson 5aba9f7549
Add cipher response to restore (#1072)
* Return revised ciphers on restore api call

* Return restored date from restore sproc

* Test Restore updates passed in ciphers

This is necessary for CipherController to appropriately return the
up-to-date ciphers without an extra db call to read them.

* Add missing SELECT
2021-01-08 08:52:42 -06:00
..
2017-08-19_00_InitialSetup.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-08-22_00_LicenseCheckScripts.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-08-30_00_CollectionWriteOnly.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-09-06_00_CipherDetails.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-09-08_00_OrgUserCounts.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-10-25_00_OrgUserUpdates.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-11-06_00_FamilyPlanAdjustments.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-11-13_00_IndexTuning.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-11-24_00_UpdateProcs.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-12-12_00_Events.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-02-28_00_LoginUris.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-03-12_00_FixLoginUris.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-03-21_00_AdminPortal.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-04-02_00_Org2fa.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-04-24_00_CipherQueryTuning.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-06-11_00_WebVaultUpdates.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-07-28_00_DbTuning.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-08-14_00_UserKdf.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-08-28_00_PremiumOrgAbilities.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-09-25_00_OrgPurge.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-10-17_00_ManagerRole.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-12-19_00_OrgUserTwoFactorEnabled.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2019-01-31_00_Transactions.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2019-03-01_00_OrgApi.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2019-05-01_00_CipherOrgDetailsFix.sql fix issues on cipher admin endpoints 2019-05-01 09:38:13 -04:00
2019-05-15_00_GroupNameFixes.sql group name fix 2019-05-15 22:38:52 -04:00
2019-05-28_00_CollectionCipherImprovements.sql collection cipher query improvements 2019-05-28 23:55:47 -04:00
2020-02-18_00_PolicySetup.sql Enforce 2fa policy (#654) 2020-02-19 14:56:16 -05:00
2020-03-26_00_CipherSoftDelete.sql Updated PR comments, changed smart defaults for behavior, updated Cipher table index 2020-03-27 10:23:37 -04:00
2020-04-01_00_CipherSoftDelete.sql [Soft-Delete] Simplify the data-tier, removed extra sprocs and reuse update 2020-04-01 16:39:27 -04:00
2020-04-02_00_CipherSoftDelete.sql [Soft Delete] - cleanup whitespace in Cipher_Restore 2020-04-10 10:51:27 -04:00
2020-04-09_00_CipherSoftDelete.sql [Soft Delete] - Add not null/is null filters to soft delete and restore sprocs 2020-04-09 15:25:17 -04:00
2020-05-02_00_SprocPerfTweaks.sql Sproc tweaks (#730) 2020-05-21 11:35:00 -04:00
2020-05-22_00_HiddenPassword.sql add missing [ViewPassword] true (#799) 2020-06-27 15:09:04 -04:00
2020-06-23_00_OrgIdentifier.sql DAL & CRUD for SSO 2020-06-25 16:42:29 -04:00
2020-06-24_00_SsoConfig.sql Remove Id from SsoConfig_Create sproc 2020-06-26 16:47:41 -04:00
2020-06-25_00_ReferenceId.sql DAL & CRUD for SSO 2020-06-25 16:42:29 -04:00
2020-07-17_00_ReferenceData.sql Transition reference id to data (#828) 2020-07-20 15:19:46 -04:00
2020-07-20_00_OrgSso.sql Added UseSso bool to Organization (#834) 2020-07-22 09:38:39 -04:00
2020-07-21_00_BulkDeleteCiphersAsOrgAdmin.sql missing go 2020-07-28 21:53:12 -04:00
2020-07-27_00_SsoUser.sql Sso user table, model and repo stubbed out (#837) 2020-07-28 10:03:09 -04:00
2020-07-28_00_SsoBound.sql return if org user has sso binding (#839) 2020-07-28 21:11:45 -04:00
2020-07-30_00_IdServerv4.sql upgrade identity server 4 to v4 (#842) 2020-07-30 17:00:13 -04:00
2020-08-12_00_OrgIdentifierProc.sql Added PreValidate endpoint on Account controller (#896) 2020-08-28 12:14:23 -04:00
2020-08-13_00_AllowNullMasterPassword.sql allow user registration for sso (#865) 2020-08-13 17:30:10 -04:00
2020-08-19_00_AddIdentifierToOrgView.sql Create sso user api (#886) 2020-08-26 14:12:04 -04:00
2020-08-19_00_SsoConfigGetAll.sql Added get for sso config repo by revision date (#878) 2020-08-19 13:35:17 -04:00
2020-08-28_00_OrgByIdentifierFix.sql Added PreValidate endpoint on Account controller (#896) 2020-08-28 12:14:23 -04:00
2020-09-01_00_DeleteSsoUser.sql delete sso user when deleting org user (#901) 2020-09-01 15:07:47 -04:00
2020-09-01_01_DeleteSsoUser2.sql delete ssouser on org and user delete (#902) 2020-09-01 16:05:37 -04:00
2020-09-02_00_DeleteSsoConfig.sql delete sso config when deleting org (#904) 2020-09-02 10:48:15 -04:00
2020-10-06_00_Send.sql Send APIs (#979) 2020-11-02 15:55:49 -05:00
2020-10-08_00_DeleteOrgUserWithOrg.sql [Require SSO] Enterprise policy enforcement (#970) 2020-10-26 11:56:16 -05:00
2020-10-14_00_OrgUserReadByUserIds.sql Only org policy (#962) 2020-10-20 02:48:10 -04:00
2020-10-20_00_OrgReadAbilities.sql [Require SSO] Enterprise policy enforcement (#970) 2020-10-26 11:56:16 -05:00
2020-10-28_00_UserApiKey.sql Implement User-based API Keys (#981) 2020-11-10 15:15:29 -05:00
2020-11-16_00_SalesTax.sql fixed a copy/paste bug in the tax rate migration script (#1077) 2021-01-07 16:36:18 -05:00
2020-11-18_00_EmergencyAccess.sql Add support for Emergency Access (#1000) 2020-12-16 14:36:47 -05:00
2020-12-04_00_OrgUserReadByOrgEmail.sql Fix sproc name mismatch in migration sql (#1066) 2020-12-30 16:21:14 -05:00
2020-12-06_00_OrgUserOrgDetailsReadByUserIdStatusOrgId.sql [Policy] Personal Ownership (#1013) 2020-12-11 10:45:26 -06:00
2021-01-05_00_ReturnRevisionDateOnCipherRestore.sql Add cipher response to restore (#1072) 2021-01-08 08:52:42 -06:00