1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-28 00:17:12 +01:00
unleash.unleash/src/migrations
Nuno Góis 13d02685d8
chore: db migration for integration events (#7604)
https://linear.app/unleash/issue/2-2435/create-migration-for-a-new-integration-events-table

Adds a DB migration that creates the `integration_events` table:
 - `id`: Auto-incrementing primary key;
- `integration_id`: The id of the respective integration (i.e.
integration configuration);
 - `created_at`: Date of insertion;
- `state`: Integration event state, as text. Can be anything we'd like,
but I'm thinking this will be something like:
   - Success 
   - Failed 
   - SuccessWithErrors ⚠️
- `state_details`: Expands on the previous column with more details, as
text. Examples:
   - OK. Status code: 200
   - Status code: 429 - Rate limit reached
   - No access token provided
 - `event`: The whole event object, stored as a JSON blob;
- `details`: JSON blob with details about the integration execution.
Will depend on the integration itself, but for example:
   - Webhook: Request body
- Slack App: Message text and an array with all the channels we're
posting to

I think this gives us enough flexibility to cover all present and
(possibly) future integrations, but I'd like to hear your thoughts.

I'm also really torn on what to call this table:
- `integration_events`: Consistent with the feature name. Addons are now
called integrations, so this would be consistent with the new thing;
 - `addon_events`: Consistent with the existing `addons` table.
2024-07-17 10:02:04 +01:00
..
20141020151056-initial-schema.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20141110144153-add-description-to-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20141117200435-add-parameters-template-to-strategies.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20141117202209-insert-default-strategy.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20141118071458-default-strategy-event.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20141215210141-005-archived-flag-to-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20150210152531-006-rename-eventtype.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20160618193924-add-strategies-to-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20161027134128-create-metrics.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20161104074441-create-client-instances.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20161205203516-create-client-applications.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20161212101749-better-strategy-parameter-definitions.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20170211085502-built-in-strategies.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20170211090541-add-default-strategies.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20170306233934-timestamp-with-tz.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20170628205541-add-sdk-version-to-client-instances.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20190123204125-add-variants-to-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20191023184858-flexible-rollout-strategy.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200102184820-create-context-fields.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200227202711-settings.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200329191251-settings-secret.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200416201319-create-users.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200429175747-users-settings.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200805091409-add-feature-toggle-type.js refactor: create migration to update feature types description 2022-01-19 19:54:49 +01:00
20200805094311-add-feature-type-to-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200806091734-add-stale-flag-to-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200810200901-add-created-at-to-feature-types.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200928194947-add-projects.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20200928195238-add-project-id-to-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20201216140726-add-last-seen-to-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210105083014-add-tag-and-tag-types.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210119084617-add-addon-table.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210121115438-add-deprecated-column-to-strategies.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210127094440-add-tags-column-to-events.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210208203708-add-stickiness-to-context.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210212114759-add-session-table.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210217195834-rbac-tables.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210218090213-generate-server-identifier.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210302080040-add-pk-to-client-instances.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210304115810-change-default-timestamp-to-now.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210304141005-add-announce-field-to-application.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210304150739-add-created-by-to-application.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210322104356-api-tokens-table.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210322104357-api-tokens-convert-enterprise.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210323073508-reset-application-announcements.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210409120136-create-reset-token-table.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210414141220-fix-misspellings-in-role-descriptions.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210415173116-rbac-rename-roles.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210421133845-add-sort-order-to-strategies.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210421135405-add-display-name-and-update-description-for-strategies.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210423103647-lowercase-all-emails.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210428062103-user-permission-to-rbac.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210428103922-patch-role-table.js fix: add migration patch 2022-02-24 14:08:41 +01:00
20210428103923-onboard-projects-to-rbac.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210428103924-patch-admin_role.js fix: add migration patch 2022-02-24 14:08:41 +01:00
20210428103924-patch-admin-role-name.js fix: add migration patch 2022-02-24 14:08:41 +01:00
20210428103924-patch-role_permissions.js fix: add migration patch 2022-02-24 14:08:41 +01:00
20210504101429-deprecate-strategies.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210520171325-update-role-descriptions.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210602115555-create-feedback-table.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210610085817-features-strategies-table.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210615115226-migrate-strategies-to-feature-strategies.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210618091331-project-environments-table.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210618100913-add-cascade-for-user-feedback.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210624114602-change-type-of-feature-archived.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210624114855-drop-strategies-column-from-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210624115109-drop-enabled-column-from-features.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210625102126-connect-default-project-to-global-environment.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210629130734-add-health-rating-to-project.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
20210830113948-connect-projects-to-global-envrionments.js fix: make sure exising projects get :global: env automatically 2021-08-30 13:47:01 +02:00
20210831072631-add-sort-order-and-type-to-env.js feat: Move environments to enterprise (#935) 2021-09-13 15:57:38 +02:00
20210907124058-add-dbcritic-indices.js fix: Added indices and primary key to feature_tag (#936) 2021-09-10 12:27:20 +02:00
20210907124850-add-dbcritic-primary-keys.js fix: Added indices and primary key to feature_tag (#936) 2021-09-10 12:27:20 +02:00
20210908100701-add-enabled-to-environments.js feat: Move environments to enterprise (#935) 2021-09-13 15:57:38 +02:00
20210909085651-add-protected-field-to-environments.js feat: Move environments to enterprise (#935) 2021-09-13 15:57:38 +02:00
20210913103159-api-keys-scoping.js Feat/api key scoping (#941) 2021-09-15 20:28:10 +02:00
20210915122001-add-project-and-environment-columns-to-events.js feat: add project and environment columns to events (#942) 2021-09-20 12:13:38 +02:00
20210920104218-rename-global-env-to-default-env.js fix: envrionments should have type 2021-09-24 14:16:13 +02:00
20210921105032-client-api-tokens-default.js feat: rename :global: env to "default" (#947) 2021-09-24 13:55:00 +02:00
20210922084509-add-non-null-constraint-to-environment-type.js fix: Enforce non-nullability of environment type (#950) 2021-09-24 09:11:36 +02:00
20210922120521-add-tag-type-permission.js Add UPDATE and DELETE TAG_TYPE permissions (#951) 2021-09-24 09:01:15 +02:00
20210928065411-remove-displayname-from-environments.js task: remove displayName from environments (#988) 2021-09-29 10:23:43 +02:00
20210928080601-add-development-and-production-environments.js fix: add default sort order for built in envs (#1076) 2021-10-29 13:02:05 +02:00
20210928082228-connect-default-environment-to-all-existing-projects.js task: add default environment (#989) 2021-09-29 11:09:35 +02:00
20211004104917-client-metrics-env.js feat/metricsV2 (#1005) 2021-10-08 10:09:22 +02:00
20211011094226-add-environment-to-client-instances.js Make Appinstance registration include environment (#1014) 2021-10-12 10:39:28 +02:00
20211013093114-feature-strategies-parameters-not-null.js fix: feature_strategies paramter column should not be null (#1024) 2021-10-13 12:42:57 +02:00
20211029094324-set-sort-order-env.js fix: add default sort order for built in envs (#1076) 2021-10-29 13:02:05 +02:00
20211105104316-add-feature-name-column-to-events.js feat: clean up events (#1089) 2021-11-12 13:15:51 +01:00
20211105105509-add-predata-column-to-events.js feat: clean up events (#1089) 2021-11-12 13:15:51 +01:00
20211108130333-create-user-splash-table.js fix: add cascade query inside create table for splash 2021-11-12 13:01:56 +01:00
20211109103930-add-splash-entry-for-users.js fix: update sql query in add-splash-entry 2021-11-12 11:02:12 +01:00
20211126112551-disable-default-environment.js Fix/enable standard environments (#1134) 2021-11-26 15:31:36 +01:00
20211130142314-add-updated-at-to-projects.js fix: add timestamp on project creation for update_at column 2021-12-01 09:59:34 +01:00
20211202120808-add-custom-roles.js refactor: drop permissions table on down migration (#1699) 2022-06-13 09:08:46 +02:00
20211209205201-drop-client-metrics.js fix: drop client_metrics table 2021-12-10 09:31:54 +01:00
20220103134659-add-permissions-to-project-roles.js feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00
20220103143843-add-permissions-to-editor-role.js feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00
20220111112804-update-permission-descriptions.js feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00
20220111115613-move-feature-toggle-permission.js feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00
20220111120346-roles-unique-name.js feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00
20220111121010-update-project-for-editor-role.js feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00
20220111125620-role-permission-empty-string-for-non-environment-type.js feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00
20220119182603-update-toggle-types-description.js refactor: create migration to update feature types description 2022-01-19 19:54:49 +01:00
20220125200908-convert-old-feature-events.js fix: add migration for old feature events (#1300) 2022-01-26 13:39:59 +01:00
20220128081242-add-impressiondata-to-features.js Feat/impression data (#1310) 2022-02-03 11:06:51 +01:00
20220129113106-metrics-counters-as-bigint.js fix: metric counters should use bigint (#1313) 2022-01-31 08:50:11 +01:00
20220131082150-reset-feedback-form.js fix: set migration for feedbacK (#1315) 2022-01-31 09:57:33 +01:00
20220224081422-remove-project-column-from-roles.js fix: remove project column from roles if exists 2022-02-24 14:08:41 +01:00
20220224111626-add-current-time-context-field.js Feat/new constraint operators (#1397) 2022-03-04 17:29:42 +01:00
20220307130902-add-segments.js feat: add segments (#1426) 2022-03-29 14:59:14 +02:00
20220331085057-add-api-link-table.js feat: Implement multi token support for client tokens 2022-04-06 08:11:41 +02:00
20220405103233-add-segments-name-index.js fix: reject duplicate segment names (#1475) 2022-04-06 14:01:50 +01:00
20220408081222-clean-up-duplicate-foreign-key-role-permission.js fix: remove duplicate foreign key (#1491) 2022-04-08 10:34:22 +02:00
20220411103724-add-legal-value-description.js feat: add context value descriptions (#1496) 2022-04-19 08:40:07 +02:00
20220425090847-add-token-permission.js feat: add READ_API_TOKEN permission (#1528) 2022-04-26 10:24:34 +02:00
20220511111823-patch-broken-feature-strategies.js fix: Repair feature strategies with broken project ids (#1593) 2022-05-11 13:41:35 +02:00
20220511124923-fix-patch-broken-feature-strategies.js fix: correct patch for feature project id 2022-05-11 14:52:38 +02:00
20220528143630-dont-cascade-environment-deletion-to-apitokens.js fix: Issue #1444 - API import with drop=true deletes existing client keys (#1668) 2022-06-09 15:56:13 +01:00
20220603081324-add-archive-at-to-feature-toggle.js Added missing archivedAt to featureSchema (#1779) 2022-07-01 11:51:26 +00:00
20220704115624-add-user-groups.js Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
20220711084613-add-projects-and-environments-for-addons.js feat: support filtering on project and environment fields for events (#1801) 2022-07-12 12:13:25 +00:00
20220808084524-add-group-permissions.js Fix/remove group owner concept (#1905) 2022-08-11 08:23:08 +02:00
20220808110415-add-projects-foreign-key.js Deleting project does not delete entry group_role table (#1896) 2022-08-10 07:45:59 +00:00
20220816121136-add-metadata-to-api-keys.js Migration for API key metadata (#1930) 2022-08-16 16:38:20 +02:00
20220817130250-alter-api-tokens.js Feat/add alias to api tokens (#1931) 2022-08-19 10:48:33 +02:00
20220908093515-add-public-signup-tokens.js Update public signup migration files (#2120) 2022-09-30 15:20:24 +03:00
20220912165344-pat-tokens.js Add description to PAT (#2090) 2022-09-26 15:42:39 +03:00
20220916093515-add-url-to-public-signup-tokens.js Fix/oas response (#2068) 2022-09-26 13:06:30 +03:00
20220927110212-add-enabled-to-public-signup-tokens.js Feat/invite user (#2061) 2022-09-30 13:01:32 +02:00
20221010114644-pat-auto-increment.js Change PAT primary key from string to number (#2163) 2022-10-10 13:35:12 +03:00
20221011155007-add-user-groups-mappings.js feat: add SSO mappings to groups (#2175) 2022-10-13 11:34:47 +01:00
20221103111940-fix-migrations.js Remove manually added migrations and fix the scripts (#2324) 2022-11-03 14:05:47 +02:00
20221103112200-change-request.js Remove manually added migrations and fix the scripts (#2324) 2022-11-03 14:05:47 +02:00
20221103125732-change-request-remove-unique.js Remove uniqueness from change requests merging (#2332) 2022-11-04 10:57:45 +02:00
20221104123349-change-request-approval.js Change request approvals table (#2347) 2022-11-09 10:40:47 +02:00
20221107121635-move-variants-to-per-environment.js Fix error in migration when updating feature_environments (#2607) 2022-12-06 14:57:54 +02:00
20221107132528-change-request-project-options.js Add changeRequestEnabled to project and project_environments (#2357) 2022-11-09 14:44:53 +02:00
20221108114358-add-change-request-permissions.js Feat/change request permissions (#2382) 2022-11-10 11:08:58 +01:00
20221110104933-add-change-request-settings.js Feat/add change request settings (#2390) 2022-11-11 10:09:25 +02:00
20221110144113-revert-change-request-project-options.js Feat/add change request settings (#2390) 2022-11-11 10:09:25 +02:00
20221114150559-change-request-comments.js Changeset comments schema (#2425) 2022-11-15 09:15:56 +01:00
20221115072335-add-required-approvals.js Change requests - add multiple reviewers (#2448) 2022-11-17 11:08:29 +02:00
20221121114357-add-permission-for-environment-variants.js Permission for variant environments (#2490) 2022-11-22 11:54:04 +02:00
20221121133546-soft-delete-user.js Add possibility to soft delete users (#2497) 2022-11-23 09:30:54 +02:00
20221124123914-add-favorites.js Favorite features (#2550) 2022-11-29 16:06:08 +01:00
20221125185244-change-request-unique-approvals.js make approvals unique (#2534) 2022-11-28 07:19:15 +01:00
20221128165141-change-request-min-approvals.js store min approvals as part of change request creation (#2548) 2022-11-29 09:40:40 +01:00
20221205122253-skip-change-request.js skip change request (#2598) 2022-12-05 15:38:17 +01:00
20221220160345-user-pat-permissions.js feat: allows creation of PATs for other users (#2718) 2023-01-02 10:49:57 +00:00
20221221144132-service-account-users.js feat: enterprise service accounts (BE) (#2806) 2023-01-03 15:15:32 +00:00
20230125065315-project-stats-table.js fix: down migration (#3015) 2023-01-27 16:13:59 +01:00
20230127111638-new-project-stats-field.js Feat/project stats members (#3009) 2023-01-27 13:13:41 +01:00
20230130113337-revert-user-pat-permissions.js fix: limit creation of other users PATs (adapting) (#3019) 2023-01-31 08:40:23 +00:00
20230208084046-project-api-token-permissions.js Feat/project api token permissions (#3065) 2023-02-17 12:15:36 +02:00
20230208093627-assign-project-api-token-permissions-editor.js Feat/project api token permissions (#3065) 2023-02-17 12:15:36 +02:00
20230208093750-assign-project-api-token-permissions-owner.js Feat/project api token permissions (#3065) 2023-02-17 12:15:36 +02:00
20230208093942-assign-project-api-token-permissions-member.js Feat/project api token permissions (#3065) 2023-02-17 12:15:36 +02:00
20230222084211-add-login-events-table.js feat: store login events (#3185) 2023-02-23 10:49:01 +00:00
20230222154915-create-notiications-table.js fix: add on delete cascade to notifications and userNotifications tables (#3192) 2023-02-24 13:19:43 +02:00
20230224093446-drop-createdBy-from-notifications-table.js remove createdBy column from notifications table (#3190) 2023-02-24 12:33:03 +02:00
20230227115320-rename-login-events-table-to-sign-on-log.js chore: Renames login_events to sign_on_log (#3203) 2023-02-27 14:42:13 +00:00
20230227120500-change-display-name-for-variants-per-env-permission.js docs: update documentation around permissions for variants (#3195) 2023-02-28 14:06:24 +01:00
20230227123106-add-setting-for-sign-on-log-retention.js chore: Renames login_events to sign_on_log (#3203) 2023-02-27 14:42:13 +00:00
20230302133740-rename-sign-on-log-table-to-login-history.js refactor: rename sign-on log to login history (#3245) 2023-03-02 13:49:50 +00:00
20230306103400-add-project-column-to-segments.js chore: add a new project column to segments table (#3263) 2023-03-07 14:56:20 +01:00
20230306103400-remove-direct-link-from-segment-permissions-to-admin.js Remove link that's not necessary (#3266) 2023-03-08 10:25:54 +01:00
20230309174400-add-project-segment-permission.js chore: add project-specific-segment permission (#3295) 2023-03-10 10:34:26 +01:00
20230314131041-project-settings.js feat: project settings migration (#3313) 2023-03-14 14:43:14 +01:00
20230316092547-remove-project-stats-column.js fix: refactor calculate time to prod (#3333) 2023-03-16 15:45:24 +01:00
20230411085947-skip-change-request-ui.js feat: skip change request in UI (#3495) 2023-04-11 14:47:54 +02:00
20230412062635-add-change-request-title.js feat: change request title migration (#3502) 2023-04-12 08:42:52 +02:00
20230412125618-add-title-to-strategy.js fix: migration (#3558) 2023-04-19 10:07:56 +03:00
20230414105818-add-root-role-to-groups.js feat: root roles from groups (#3559) 2023-04-20 12:29:30 +02:00
20230419104126-add-disabled-field-to-feature-strategy.js fix: update migration bugs (#3589) 2023-04-21 13:57:54 +00:00
20230420125500-v5-strategy-changes.js fix: update migration bugs (#3589) 2023-04-21 13:57:54 +00:00
20230420211308-update-context-fields-add-sessionId.js fix: migration failure when sessionId exists (#3624) (#3625) 2023-04-26 09:00:13 +00:00
20230424090942-project-default-strategy-settings.js Feat: project default strategy (#3644) 2023-04-28 14:59:04 +03:00
20230504145945-variant-metrics.js feat: metrics for variants (#3685) 2023-05-05 11:10:54 +03:00
20230510113903-fix-api-token-username-migration.js chore: add another migration that remigrates the proper way (#3719) 2023-05-11 15:33:04 +02:00
20230615122909-fix-env-sort-order.js fix: fix sort order for environments (#3992) 2023-06-15 13:27:15 +03:00
20230619105029-new-fine-grained-api-token-permissions.js feat: Separate api token roles (#4019) 2023-06-20 14:21:14 +02:00
20230619110243-assign-apitoken-permissions-to-rootroles.js feat: Separate api token roles (#4019) 2023-06-20 14:21:14 +02:00
20230621141239-refactor-api-token-permissions.js refactor: token permissions, drop admin-like permissions (#4050) 2023-06-22 08:35:54 +01:00
20230630080126-delete-deprecated-permissions.js refactor: clean up deprecated permissions (#4124) 2023-06-30 11:15:11 +01:00
20230706123907-events-announced-column.js 1-1049 Emit events after db transaction is complete (#4174) 2023-07-10 08:43:22 +02:00
20230711094214-add-potentially-stale-flag.js #4205: mark potentially stale features (#4217) 2023-07-13 12:02:33 +00:00
20230711163311-project-feature-limit.js feat: feature creation limit crud together with frontend (#4221) 2023-07-13 14:02:35 +03:00
20230712091834-strategy-variants.js feat: strategy variant migrations (#4225) 2023-07-13 08:58:03 +02:00
20230802092725-add-last-seen-column-to-feature-environments.js feat: Add last_seen_at column to feature_environments (#4387) 2023-08-02 15:02:01 +03:00
20230802141830-add-feature-and-environment-last-seen-at-to-features-view.js Feat: last seen in feature environment (#4391) 2023-08-04 09:59:54 +03:00
20230803061359-change-request-optional-feature.js feat: optional change request feature (#4394) 2023-08-03 11:22:35 +02:00
20230808104232-update-root-roles-descriptions.js docs: custom root roles (#4451) 2023-08-10 08:21:58 +01:00
20230814095253-change-request-rejections.js feat: Change request rejections db table (#4486) 2023-08-14 13:00:21 +02:00
20230814115436-change-request-timzone-timestamps.js fix: add timezones to timestamps (#4488) 2023-08-14 14:59:28 +02:00
20230815065908-change-request-approve-reject-permission.js feat: reject change request dialog (#4491) 2023-08-15 12:49:40 +02:00
20230817095805-client-applications-usage-table.js feat: create client_applications_usage table migration (#4521) 2023-08-18 14:26:22 +03:00
20230818124614-update-client-applications-usage-table.js feat: persist client application usage (#4534) 2023-08-21 14:36:31 +03:00
20230830121352-update-client-applications-usage-table.js feat: feature naming patterns (#4591) 2023-09-04 11:53:33 +00:00
20230905122605-add-feature-naming-description.js 1-1319: add feature naming pattern descriptions (#4612) 2023-09-06 08:13:28 +00:00
20230919104006-dependent-features.js feat: Persist dependent features (#4772) 2023-09-19 13:01:38 +02:00
20230927071830-reset-pnps-feedback.js Feat/reset pnps (#4841) 2023-09-27 12:03:02 +02:00
20230927172930-events-announced-index.js fix: partial index on events announced (#4856) 2023-09-28 10:21:16 +02:00
20231002122426-update-dependency-permission.js feat: update dependency permission (#4910) 2023-10-04 09:27:14 +02:00
20231003113443-last-seen-at-metrics-table.js Fix/last seen at by environment (#4939) 2023-10-09 10:54:00 +02:00
20231004120900-create-changes-stats-table-and-trigger.js fix: make sure we are still pg10 compatible. (#5214) 2023-10-30 13:19:57 +01:00
20231012082537-message-banners.js feat: message banners table migration (#5009) 2023-10-12 11:27:00 +01:00
20231019110154-rename-message-banners-table-to-banners.js refactor: rename message banners to banners (#5098) 2023-10-19 13:18:25 +01:00
20231024121307-add-change-request-schedule.js 1-1531: create db table for cr schedules (#5148) 2023-10-25 14:36:03 +02:00
20231025093422-default-project-mode.js fix: project mode can not be set to null anymore (#5145) 2023-10-25 14:09:34 +03:00
20231030091931-add-created-by-and-status-change-request-schedule.js feat: add created_by and status columns to change_request_schedule (#5203) 2023-10-30 12:01:06 +02:00
20231103064746-change-request-schedule-change-type.js chore: remove enum type from db (#5254) 2023-11-03 09:28:19 +02:00
20231121153304-add-permission-create-tag-type.js feat: add CREATE_TAG_TYPE permission (#5386) 2023-11-22 10:20:19 +00:00
20231122121456-dedupe-any-duplicate-permissions.js fix: dedupe any duplicate permissions (#5397) 2023-11-23 10:23:21 +00:00
20231123100052-drop-last-seen-foreign-key.js Fix/clean last seen environments (#5402) 2023-11-23 12:12:58 +01:00
20231123155649-favor-permission-name-over-id.js refactor: favor permission name over id (#5409) 2023-11-27 11:12:09 +00:00
20231211121444-features-created-by.js chore: migration for features created by (#5593) 2023-12-11 14:58:23 +01:00
20231211122322-feature-types-created-by.js chore: add migration for adding created_by to feature_types table (#5591) 2023-12-11 14:57:58 +01:00
20231211122351-feature-tag-created-by.js chore: add migration for adding created_by to feature_tag table (#5590) 2023-12-11 14:57:40 +01:00
20231211122426-feature-strategies-created-by.js chore: add migration for adding created_by to feature_strategies table (#5589) 2023-12-11 14:57:18 +01:00
20231211132341-add-created-by-to-role-permission.js feat: add created_by to role_permission table (#5592) 2023-12-11 15:39:44 +01:00
20231211133008-add-created-by-to-role-user.js feat: add column created_by to role_user table (#5594) 2023-12-11 15:40:02 +01:00
20231211133920-add-created-by-to-roles.js feat: add column created_by to roles table (#5595) 2023-12-11 15:40:17 +01:00
20231211134130-add-created-by-to-users.js feat: add column created_by to users table (#5597) 2023-12-11 15:39:07 +01:00
20231211134633-add-created-by-to-apitokens.js feat: add created_by to api_tokens table (#5596) 2023-12-11 15:41:36 +01:00
20231212094044-event-created-by-user-id.js chore: add created by user id to events (#5621) 2023-12-12 15:57:59 +01:00
20231213111906-add-reason-to-change-request-schedule.js feat: add reason column to change_request_schedule (#5631) 2023-12-13 14:07:02 +02:00
20231215105713-incoming-webhooks.js chore: incoming webhooks and tokens migration (#5670) 2023-12-18 13:22:28 +00:00
20231218165612-inc-webhook-tokens-rename-secret-to-token.js chore: rename secret to token in incoming_webhook_tokens (#5679) 2023-12-18 17:11:59 +00:00
20231219100343-rename-new-columns-to-created-by-user-id.js chore: add migration that renames new created_by columns (#5681) 2023-12-19 13:14:15 +01:00
20231221143955-feedback-table.js feat: feedback table (#5721) 2023-12-21 15:34:35 +02:00
20231222071533-unleash-system-user.js chore:system user and events created by userid migrations (#5612) 2023-12-22 11:19:39 +01:00
20240102142100-incoming-webhooks-created-by.js feat: support null created_by_user_id (#5744) 2024-01-02 17:53:29 +01:00
20240102205517-observable-events.js chore: observable events db migration (#5749) 2024-01-03 12:08:14 +00:00
20240108151652-add-daily-metrics.js feat: daily metrics db migration (#5791) 2024-01-09 11:56:12 +01:00
20240109093021-incoming-webhooks-description.js chore: incoming webhooks description migration (#5803) 2024-01-09 10:39:51 +00:00
20240109095348-add-reason-column-to-schedule.js chore: add reason column to change request schedule table (#5802) 2024-01-10 08:47:30 +05:30
20240111075911-update-system-user-email.js chore: remove system user's email in db. (#5849) 2024-01-16 11:15:29 +05:30
20240111125100-automated-actions.js feat: add automated actions tables (#5857) 2024-01-11 14:42:37 +01:00
20240116104456-drop-unused-column-permissionid.js chore: delete unnecessary column permission_id (#5413) 2024-01-16 10:56:22 +00:00
20240116154700-unleash-admin-token-user.js chore: add another system user for admin tokens (#5915) 2024-01-16 19:28:36 +01:00
20240117093601-add-more-granular-project-permissions.js feat: added more granular project permissions (#5932) 2024-01-18 09:57:44 +01:00
20240118093611-missing-primary-keys.js feat: add primary keys to missing tables (#5943) 2024-01-18 13:52:51 +02:00
20240119171200-action-states.js feat: add action states (#5983) 2024-01-22 11:49:35 +01:00
20240124123000-add-enabled-to-action-sets.js feat(2-1879): add enabled to action sets (#6023) 2024-01-24 12:52:04 +01:00
20240125084701-add-user-trends.js feat: user trends migration (#6030) 2024-01-25 12:56:29 +01:00
20240125085703-users-table-increae-image-url-size.js chore: change users image_url column to text (#6031) 2024-01-25 11:40:18 +02:00
20240125090553-events-fix-incorrectly-assigned-sysuser-id.js chore: add a migration that removes incorrectly set sysuserid (#6032) 2024-01-29 09:16:18 +01:00
20240125100000-events-system-user-old2new.js chore: replace systemUser -1 with new -1337 system user (#5999) 2024-01-25 11:19:39 +01:00
20240126095544-add-flag-trends.js feat: flag trends db migration (#6044) 2024-01-26 14:37:15 +01:00
20240130104757-flag-trends-health-time-to-production.js feat: migration for health and time_to_production in flag trends (#6067) 2024-01-30 13:28:10 +01:00
20240207164033-client-applications-announced-index.js feat: add partial index on client_applications annouced FALSE (#6166) 2024-02-08 10:57:10 +02:00
20240208123212-create-stat-traffic-usage-table.js chore: add migration for traffic data collection (#6171) 2024-02-09 09:58:58 +01:00
20240208130439-events-revision-id-index.js feat: add index on events for faster revision id (#6170) 2024-02-08 14:11:58 +02:00
20240215133213-flag-trends-users.js migration: flag-trends - add users column (#6254) 2024-02-16 15:42:47 +01:00
20240220130622-add-action-state-indexes.js chore: add action state db indexes (#6283) 2024-02-20 15:45:33 +00:00
20240221082758-action-events.js chore: action_set_events db table migration (#6298) 2024-02-21 14:02:19 +00:00
20240221115502-drop-action-states.js chore: db drop action_states (#6300) 2024-02-21 17:32:08 +00:00
20240222123532-project-metrics-summary-trends.js fix: project client metrics trends remove invalid insert (#6385) 2024-02-29 09:52:58 +01:00
20240229093231-drop-fk-and-cascade-in-trends.js fix: relax trends tables constraints (#6386) 2024-02-29 10:56:14 +01:00
20240304084102-rename-observable-events-to-signals.js chore: rename incoming webhooks to signals (DB) (#6413) 2024-03-04 10:28:19 +00:00
20240304160659-add-environment-type-trends.js Feat: add enviroment type trends table (#6432) 2024-03-05 10:51:32 +02:00
20240305094305-features-remove-archived.js chore: remove archived column from features table (#6431) 2024-03-05 22:28:47 +02:00
20240305121426-add-created-at-environment-type-trends.js Fix: add created at to environment type trends (#6437) 2024-03-05 15:10:13 +02:00
20240305121702-add-metrics-summary-columns-to-flag-trends.js Feat: add metrics summary columns to flag trends (#6440) 2024-03-05 16:49:17 +02:00
20240305131822-add-scim-id-column-to-user.js fix: scim id was not unique (#6450) 2024-03-12 13:36:21 +01:00
20240306145609-make-scim-id-idx-unique.js fix: scim id was not unique (#6450) 2024-03-12 13:36:21 +01:00
20240325081847-add-scim-id-for-groups.js chore: add scim id migration for groups (#6682) 2024-03-25 11:39:11 +02:00
20240326122126-add-index-on-group-name.js feat: add index on group name (#6696) 2024-03-26 14:48:05 +01:00
20240329064629-revert-feature-archived.js fix: revert archived column for backwards migration compatibility (#6737) 2024-03-29 13:00:33 +01:00
20240405120422-add-feature-lifecycles.js feat: Feature lifecycle sql store (#6790) 2024-04-08 08:54:41 +02:00
20240405174629-jobs.js feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00
20240408104624-fix-environment-type-trends.js fix: environment_type_trends table data (#6796) 2024-04-09 12:37:05 +03:00
20240418140646-add-ip-column-to-events-table.js feat: use audit info in events (#6872) 2024-04-18 16:32:35 +02:00
20240425132155-flag-trends-bigint.js fix: flag trends should support bigint for yes and no evaluations (#6930) 2024-04-25 14:02:04 +03:00
20240430075605-add-scim-external-id.js task: added migration for scim_external_id (#6966) 2024-04-30 10:24:17 +02:00
20240506141345-lifecycle-initial-stage.js feat: create initial stages for features (#6983) 2024-05-07 11:38:51 +03:00
20240507075431-client-metrics-env-daily-bigint.js feat: increase possible number range for yes/no metrics (#6995) 2024-05-07 13:54:56 +02:00
20240508153244-feature-lifecycles-status.js feat: add status fields for feature lifecycle table (#7014) 2024-05-09 09:39:01 +03:00
20240523093355-toggle-to-flag-rename.js feat: rename toggle to flag with db migration (#7118) 2024-05-23 10:17:02 +03:00
20240523113322-roles-toggle-to-flag-rename.js chore: rename roles toggles to flag (#7123) 2024-05-23 12:01:04 +03:00
20240611092538-add-created-by-to-features-view.js feat: adding full creator information to view used by feature read (#7356) 2024-06-11 14:19:32 +02:00
20240705111827-used-passwords-table.js feat: Disallow repeating last 5 passwords. (#7552) 2024-07-09 16:18:35 +02:00
20240716135038-integration-events.js chore: db migration for integration events (#7604) 2024-07-17 10:02:04 +01:00
default-strategies.json chore: remove deprecated strategies and allow deprecate default (#3575) 2023-04-21 11:42:36 +02:00
flexible-rollout-strategy.json Feature/setup typescript 2021-02-12 11:42:00 +01:00