1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib
David Leek 9d2c65c9c0
chore: events created by userid migration (#6027)
## About the changes

Schedules a best-effort task setting the value of
events.created_by_user_id based on what is found in the created_by
column and if it's capable of resolving that to a userid/a system id.
The process is executed in the events-store, it takes a chunk of events
that haven't been processed yet, attempts to join users and api_tokens
tables on created_by = username/email, loops through and tries to figure
out an id to set. Then updates the record.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-01-30 08:22:53 +01:00
..
__snapshots__ chore: default the data migration flag for createdbyuserid to false (#6048) 2024-01-29 08:07:33 +01:00
addons
db chore: events created by userid migration (#6027) 2024-01-30 08:22:53 +01:00
domain/project-health
error fix: return 400 when enabling env of archived toggle (#6049) 2024-01-26 16:02:17 +02:00
features chore: events created by userid migration (#6027) 2024-01-30 08:22:53 +01:00
middleware
openapi feat: stale flags count per project (#6043) 2024-01-26 12:04:43 +01:00
proxy
routes
schema
segments
services chore: replace systemUser -1 with new -1337 system user (#5999) 2024-01-25 11:19:39 +01:00
types chore: events created by userid migration (#6027) 2024-01-30 08:22:53 +01:00
util
app.test.ts
app.ts
create-config.test.ts
create-config.ts
default-custom-auth-deny-all.ts
internals.ts
logger.test.ts
logger.ts
metric-events.ts
metrics.test.ts
metrics.ts
server-impl.test.ts
server-impl.ts