1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/src/migrations
Jaanus Sellin 5b879d9331
feat: add origin column for consumption based tables (#10494)
We will start separating traffic, when it comes from different origins.
Also will add it as primary key so merging will work correctly.

There is a problem with using normal down migration, is that if we split
data by origin, when down migrating and removing column, and re adding
the old migration, we will have conflicts and it will fail.

This means before we down migrate, we need to aggregate/sum the data and
only then we can reapply old schema.
2025-08-13 16:16:05 +03:00
..
20141020151056-initial-schema.js
20141110144153-add-description-to-features.js
20141117200435-add-parameters-template-to-strategies.js
20141117202209-insert-default-strategy.js
20141118071458-default-strategy-event.js
20141215210141-005-archived-flag-to-features.js
20150210152531-006-rename-eventtype.js
20160618193924-add-strategies-to-features.js
20161027134128-create-metrics.js
20161104074441-create-client-instances.js
20161205203516-create-client-applications.js
20161212101749-better-strategy-parameter-definitions.js
20170211085502-built-in-strategies.js
20170211090541-add-default-strategies.js
20170306233934-timestamp-with-tz.js
20170628205541-add-sdk-version-to-client-instances.js
20190123204125-add-variants-to-features.js
20191023184858-flexible-rollout-strategy.js
20200102184820-create-context-fields.js
20200227202711-settings.js
20200329191251-settings-secret.js
20200416201319-create-users.js
20200429175747-users-settings.js
20200805091409-add-feature-toggle-type.js
20200805094311-add-feature-type-to-features.js
20200806091734-add-stale-flag-to-features.js
20200810200901-add-created-at-to-feature-types.js
20200928194947-add-projects.js
20200928195238-add-project-id-to-features.js
20201216140726-add-last-seen-to-features.js
20210105083014-add-tag-and-tag-types.js
20210119084617-add-addon-table.js
20210121115438-add-deprecated-column-to-strategies.js
20210127094440-add-tags-column-to-events.js
20210208203708-add-stickiness-to-context.js
20210212114759-add-session-table.js
20210217195834-rbac-tables.js
20210218090213-generate-server-identifier.js
20210302080040-add-pk-to-client-instances.js
20210304115810-change-default-timestamp-to-now.js
20210304141005-add-announce-field-to-application.js
20210304150739-add-created-by-to-application.js
20210322104356-api-tokens-table.js
20210322104357-api-tokens-convert-enterprise.js
20210323073508-reset-application-announcements.js
20210409120136-create-reset-token-table.js
20210414141220-fix-misspellings-in-role-descriptions.js
20210415173116-rbac-rename-roles.js
20210421133845-add-sort-order-to-strategies.js chore!: removing userId strategy for new installations of Unleash (#9800) 2025-06-04 09:30:13 +02:00
20210421135405-add-display-name-and-update-description-for-strategies.js chore!: removing userId strategy for new installations of Unleash (#9800) 2025-06-04 09:30:13 +02:00
20210423103647-lowercase-all-emails.js
20210428062103-user-permission-to-rbac.js
20210428103922-patch-role-table.js
20210428103923-onboard-projects-to-rbac.js
20210428103924-patch-admin_role.js
20210428103924-patch-admin-role-name.js
20210428103924-patch-role_permissions.js
20210504101429-deprecate-strategies.js
20210520171325-update-role-descriptions.js
20210602115555-create-feedback-table.js
20210610085817-features-strategies-table.js
20210615115226-migrate-strategies-to-feature-strategies.js
20210618091331-project-environments-table.js
20210618100913-add-cascade-for-user-feedback.js
20210624114602-change-type-of-feature-archived.js
20210624114855-drop-strategies-column-from-features.js
20210624115109-drop-enabled-column-from-features.js
20210625102126-connect-default-project-to-global-environment.js
20210629130734-add-health-rating-to-project.js
20210830113948-connect-projects-to-global-envrionments.js
20210831072631-add-sort-order-and-type-to-env.js
20210907124058-add-dbcritic-indices.js
20210907124850-add-dbcritic-primary-keys.js
20210908100701-add-enabled-to-environments.js
20210909085651-add-protected-field-to-environments.js
20210913103159-api-keys-scoping.js
20210915122001-add-project-and-environment-columns-to-events.js
20210920104218-rename-global-env-to-default-env.js
20210921105032-client-api-tokens-default.js
20210922084509-add-non-null-constraint-to-environment-type.js
20210922120521-add-tag-type-permission.js
20210928065411-remove-displayname-from-environments.js
20210928080601-add-development-and-production-environments.js
20210928082228-connect-default-environment-to-all-existing-projects.js
20211004104917-client-metrics-env.js
20211011094226-add-environment-to-client-instances.js
20211013093114-feature-strategies-parameters-not-null.js
20211029094324-set-sort-order-env.js
20211105104316-add-feature-name-column-to-events.js
20211105105509-add-predata-column-to-events.js
20211108130333-create-user-splash-table.js
20211109103930-add-splash-entry-for-users.js
20211126112551-disable-default-environment.js
20211130142314-add-updated-at-to-projects.js
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
20220103134659-add-permissions-to-project-roles.js
20220103143843-add-permissions-to-editor-role.js
20220111112804-update-permission-descriptions.js
20220111115613-move-feature-toggle-permission.js
20220111120346-roles-unique-name.js
20220111121010-update-project-for-editor-role.js
20220111125620-role-permission-empty-string-for-non-environment-type.js
20220119182603-update-toggle-types-description.js
20220125200908-convert-old-feature-events.js
20220128081242-add-impressiondata-to-features.js
20220129113106-metrics-counters-as-bigint.js
20220131082150-reset-feedback-form.js
20220224081422-remove-project-column-from-roles.js
20220224111626-add-current-time-context-field.js
20220307130902-add-segments.js
20220331085057-add-api-link-table.js
20220405103233-add-segments-name-index.js
20220408081222-clean-up-duplicate-foreign-key-role-permission.js
20220411103724-add-legal-value-description.js
20220425090847-add-token-permission.js
20220511111823-patch-broken-feature-strategies.js
20220511124923-fix-patch-broken-feature-strategies.js
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 fix: features table migrations in 20220603081324-add-archive-at-to-fea… (#9518) 2025-03-12 10:28:04 +01: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 chore!: removing userId strategy for new installations of Unleash (#9800) 2025-06-04 09:30:13 +02: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
20240806140453-add-archived-at-to-projects.js feat: archived at column in projects (#7782) 2024-08-07 10:00:37 +02:00
20240812120954-add-archived-at-to-projects.js feat: add index on events created at (#7836) 2024-08-12 12:46:50 +03:00
20240812132633-events-type-index.js feat: events table type column index (#7838) 2024-08-12 13:46:27 +03:00
20240821141555-segment-no-project-cleanup.js fix: fix events with no-project projects (#7951) 2024-08-21 15:32:37 +03:00
20240823091442-normalize-token-types.js fix: add migration to normalize api token types (#7974) 2024-08-23 13:29:49 +02:00
20240828154255-user-first-seen-at.js feat: start tracking user first login migration (#8006) 2024-08-28 16:27:09 +03:00
20240830102144-onboarding-events.js feat: collect onboarding events in separate table (#8020) 2024-08-30 11:34:47 +03:00
20240903152133-clear-onboarding-events.js chore: clear onboarding events (#8062) 2024-09-03 16:27:11 +03:00
20240904084114-add-update-feature-dependency-editor.js fix: editor can add dependencies in default project (#8077) 2024-09-04 11:25:32 +02:00
20240919083625-client-metrics-env-variants-daily-to-bigint.js task: make count column bigint. (#8183) 2024-09-19 10:59:40 +02:00
20241016090534-ai-chats.js chore: AI chats db migration (#8460) 2024-10-16 10:43:52 +01:00
20241016123833-ai-chats-rename-chat-col-to-messages.js chore: update schemas related to Unleash AI chat (#8463) 2024-10-16 14:44:37 +01:00
20241024062521-add-release-plans-milestones-strategies.js chore: add migration for release plans (#8529) 2024-10-24 13:33:54 +02:00
20241024081537-sent-emails-table.js feat: emails sent table migration (#8528) 2024-10-25 09:53:52 +02:00
20241030093439-release-plans-template-ref-and-missing-strategy-fields.js chore: add migration for milestone strategy segments (#8593) 2024-10-30 11:22:52 +01:00
20241031102325-user-unsubscription.js feat(db): user email un-subscription (#8612) 2024-10-31 11:38:15 +00:00
20241031123526-release-plan-definition-remove-fk-constraint-on-userid.js chore: add migration for release-plans-definitions that removes fk on users(id) (#8614) 2024-10-31 13:49:55 +01:00
20241105123918-add-cascade-for-user-unsubscription.js migration(producitivty-report): cascade user unsubscription (#8655) 2024-11-05 13:54:32 +01:00
20241111085745-release-plan-template-permissions.js task: added migration for release plan template permissions (#8707) 2024-11-11 10:42:38 +01:00
20241112113555-user-email-hash.js fix: md5 is deprecated and fails FEDRAMP. Replace with sha256 (#10125) 2025-06-13 09:41:40 +02:00
20241114103646-licensed-users.js feat: licensed users migration table (#8748) 2024-11-14 10:59:29 +02:00
20241119103819-make-potentially-stale-non-nullable.js 1-3131: db migration to make potentially stale non-nullable (#8796) 2024-11-19 12:27:22 +01:00
20241119105837-licensed-users-backfill.js feat: backfill licensed users (#8791) 2024-11-20 09:10:07 +02:00
20241125080935-add-unique-idx-to-release-plan-discriminator.js task: added unique index for release plan templates (#8846) 2024-11-25 11:25:55 +01:00
20241127074206-milestone-strategy-title-nullable.js chore: make milestone_strategies.title nullable (#8864) 2024-11-27 09:16:24 +01:00
20241128152334-features-view-filter-out-milestone-strategies.js chore: filter out milestone strategies in features_view (#8883) 2024-12-02 08:17:17 +00:00
20241129102205-add-foreign-key-to-role-permissions.js feat: add migration (#8891) 2025-01-06 14:38:56 +01:00
20241211143944-events-index-project-feature-created.js fix: make project ui query optimized (#8961) 2024-12-12 08:41:10 +02:00
20241212122149-add-permissions-maintenance.js migration: add permissions for instance maintenance (#8885) 2024-12-12 16:53:46 +01:00
20241216141201-add-permission-auth-config.js migration: add auth config permission (#8988) 2024-12-17 10:33:14 +01:00
20241220102327-drop-ai-chats.js chore: remove Unleash AI (#9010) 2024-12-20 11:02:49 +00:00
20250102150900-add-permission-read-logs.js migration: read logs permission (#9049) 2025-01-08 10:52:41 +01:00
20250109150818-unique-connections-table.js chore: fix migration file (#9079) 2025-01-10 13:41:07 +01:00
20250110130010-add-permission-cors.js migration: cors root role permission (#9080) 2025-01-13 09:19:27 +01:00
20250203145735-drop-rp-view-permissions.js chore: drop release plan template view permissions (#9195) 2025-02-03 16:24:25 +00:00
20250205072305-clean-scim-id-from-deleted-users.js chore: clear scim fields when deleting user + migration for existing cases (#9217) 2025-02-05 15:45:51 +01:00
20250210130408-add-edge-observability-tables.js task: add edge observability tables (#9307) 2025-02-14 08:48:13 +00:00
20250211114205-scim-email-hash-backfill.js fix: md5 is deprecated and fails FEDRAMP. Replace with sha256 (#10125) 2025-06-13 09:41:40 +02:00
20250212130610-add-stat-edge-traffic-table.js task: add edge observability tables (#9307) 2025-02-14 08:48:13 +00:00
20250214104741-add-status-code-to-edge-traffic-table.js task: add status_code to edge traffic table to store 304s as well (#9312) 2025-02-14 14:52:45 +01:00
20250304122705-archive-release-template.js chore: migration for new archive columns on release defintion (#9412) 2025-03-04 14:36:30 +01:00
20250307124449-connection-count-consumption-table.js feat: create connection count consumption table (#9444) 2025-03-10 12:51:11 +01:00
20250312162155-connection-count-consumption-table.js feat: frontend consumption table (#9523) 2025-03-12 16:44:01 +02:00
20250318091635-add-tag-type-color.js Feat/tag colors migration (#9560) 2025-03-18 15:01:59 +01:00
20250320121200-all-users-have-a-root-role.js fix: all users have a root role and warning if not (#9584) 2025-03-20 13:59:37 +01:00
20250325124224-environment-required-approvals.js feat: environment required approvals migration (#9612) 2025-03-25 15:33:58 +01:00
20250424185110-unknown-flags.js chore: unknown flags (#9837) 2025-05-07 11:48:36 +01:00
20250425091940-client-instance-sdk-type.js feat: client instances sdk type (#9844) 2025-04-25 12:20:48 +02:00
20250506074807-feature-link-table.js feat: feature link migration (#9900) 2025-05-06 11:21:20 +02:00
20250508102832-feature-link-domain.js feat: add domain to links (#9930) 2025-05-08 13:20:47 +02:00
20250508112416-update-project-add-link-templates.js migration: project settings - external link templates (#9933) 2025-05-08 13:51:21 +02:00
20250521160000-add-cdn-tokens-table.js feat: add migration for cdn_tokens (#10021) 2025-05-21 14:20:04 +00:00
20250529153326-cr-uniqueness.js fix: do not allow creating cr for same environment (#10010) 2025-05-30 08:20:11 +03:00
20250530103216-lifecycle-trends.js feat: lifecycle trends migration (#10066) 2025-06-03 08:55:28 +03:00
20250604100546-lifecycle-trends-general.js feat: make lifecycle trends more detailed (#10079) 2025-06-04 10:32:32 +03:00
20250604110546-remove-default-env-from-new-installs.js chore!: remove deprecated default env from new installs (#10080) 2025-06-06 12:02:21 +02:00
20250612070900-backfill-email-hashes-using-sha256.js fix: md5 is deprecated and fails FEDRAMP. Replace with sha256 (#10125) 2025-06-13 09:41:40 +02:00
20250612114001-backfill-email-hashes-from-event-log.js fix: md5 is deprecated and fails FEDRAMP. Replace with sha256 (#10125) 2025-06-13 09:41:40 +02:00
20250618090103-create-cr-requested-approvals.js task: added table for requested approvers for CRs (#10159) 2025-06-18 11:52:29 +02:00
20250623100820-cr-requested-approvals-add-notified-at-column.js task: added notified at to change request requested approvals (#10196) 2025-06-23 10:51:47 +00:00
20250630114145-add-transaction-context-to-events.js feat: start storing event group type and id (#10233) 2025-06-30 12:50:51 +03:00
20250707153020-unknown-flags-environment.js chore: unknown flags with environment (#10325) 2025-07-08 10:56:33 +01:00
20250708173000-amend-users-created-events.js chore: amend user-created-missing events (#10333) 2025-07-09 07:19:25 +00:00
20250730102900-rename-api-token-permissions.js docs: update references and names to new SDK nomenclature (#10431) 2025-07-30 14:35:37 +02:00
20250805152422-backfill-lifecycle-trends.js fix: now lifecycle trends will be added for flags that have official flag type (#10482) 2025-08-08 13:23:35 +03:00
20250813125755-backfill-lifecycle-trends-fix.js fix: week range for lifecycle backfill (#10493) 2025-08-13 13:43:52 +03:00
20250813142433-consumption-origin.js feat: add origin column for consumption based tables (#10494) 2025-08-13 16:16:05 +03:00
default-strategies.json chore!: removing userId strategy for new installations of Unleash (#9800) 2025-06-04 09:30:13 +02:00
flexible-rollout-strategy.json
package.json feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00