Bubble Activity History Migration: How to Keep Your Timeline Intact
A customer opens a project in your new app. The project is there. Its current status is correct. But the timeline that explained how it got there is empty.
The team can no longer see who approved a request, when a document was updated, or why an order changed hands. The migration preserved the current record but lost the history people use to understand it.
Activity history is easy to overlook because it often sits behind the main feature. A successful Bubble-to-code migration needs to account for the events, people, timestamps, links, and permissions that make the timeline useful. It also needs to be honest about history the old app never recorded.
Here is a practical way to scope and test that work.
What is activity history in a Bubble app?
Activity history is the record of meaningful actions displayed or used by a product. Depending on the app, it might show a task changing status, a customer uploading a document, a manager approving a request, or a team member adding a note.
Some Bubble apps store these events as dedicated database records. Others derive a timeline from comments, status fields, integration data, or a combination. Some record only the current value and have no complete history at all.
That is different from Bubble's server logs, which help investigate server-side activity, and from an editor change history. A customer-facing timeline, an operational log, and a security audit trail have different purposes and may contain different information. One should not be assumed to replace another.
Bubble's Logs tab documentation describes server-side logs and currently says search results are limited to the previous two weeks. It describes the listed user as the user associated with the log, often the person who caused the action. That is useful for investigation, but it is not a promise of a complete, long-term business timeline or definitive actor attribution.
1. Start with the questions the history must answer
Ask the people who use the product what they look for in a timeline. Their answers determine what needs to move.
A support agent may need to see when a customer's request changed status. A customer might need to find a previous message. A manager may need the sequence of approvals, including a rejection and resubmission. An operations team may need to distinguish a human action from an automated change.
For each important journey, write down:
- Which events appear and which users can see them.
- Whether the timeline covers a project, organization, customer, or individual record.
- How far back users need to look.
- Whether the event links to a comment, document, task, or other record.
- Whether edits, deletions, corrections, and automated actions are represented.
- What must remain available after a user or related record is removed.
Separate these business requirements from security and legal requirements. A readable activity feed is not automatically an audit trail, and moving it does not establish compliance. If the business needs stronger evidence or retention, specify those requirements with the appropriate security, legal, or compliance owners.
2. Find the source of each event
Do not assume the visible timeline corresponds to one Bubble data type. Trace a few real entries from the interface back to their source.
An event might be:
- A purpose-built activity record created by a workflow.
- A comment or note displayed as a timeline item.
- A status-change record stored separately from the object it describes.
- An event held by a third-party provider.
- A display derived from a record's current or modified date.
For every source, record the data type or external system, how records are created, fields available, retention, access rules, and whether it covers historical periods consistently. Use representative examples from before and after major changes to the app. A workflow introduced last year cannot be assumed to have captured events from the year before it existed.
Bubble supports exporting app data as CSV, JSON, or NDJSON, and its export guide notes that exports are made per data type and view. Confirm the selected view contains the intended records and fields. An application definition is not the same thing as the app's live database.
If source records contain sensitive information, protect exports and temporary copies with access and retention controls. Do not put personal details into a new event model just because they were convenient to copy.
3. Map the identity and meaning of every event
A useful timeline entry needs more than text. Make a mapping for each event type that includes:
- Event ID: the old unique ID and a stable new ID or source reference.
- Action: what happened, such as “status changed,” not merely “record updated.”
- Subject: the project, request, document, or other object affected.
- Actor: the person, service, or automation responsible, when known.
- Time: when the action occurred, separate from when it was imported.
- Context: the relevant old and new values, note, or link, where actually recorded.
- Visibility: who is allowed to see the entry.
- Provenance: where the event came from and whether it is imported or newly created.
For example, a stored event may say that a request moved from “In review” to “Approved” at a specific time, with a reference to a user. Preserve the original IDs alongside the new references so that you can trace a disputed entry back to its source.
Do not infer information that is missing. If an old event does not identify its actor, label it “Unknown” or another agreed description. If it was performed by an integration, identify it as a system action only when the source supports that conclusion. A later editor or the owner of the object is not necessarily the person who performed the original action.
For renamed or deleted users, decide whether to retain a historical display name, show a neutral label, or apply another policy that meets your privacy obligations. Preserve the link between events and identities where appropriate without exposing deleted or restricted personal data.
4. Preserve time, order, and uncertainty
A timeline can contain every event and still tell the wrong story if timestamps shift or entries appear in an unstable order.
Bubble describes dates as points in time stored as Unix milliseconds, with timezone applied when values are displayed; see its time and timezone guide. Preserve the original instant and available precision when converting the field. If a separate source timezone is known and matters to the business, retain it explicitly. Do not invent a timezone or higher precision that the source did not record.
Test events around midnight, daylight-saving changes, and users in different timezones. Make clear whether the interface displays local time, a business timezone, or another agreed convention.
When events share a timestamp, use a stable tie-breaker, such as a preserved event ID or a recorded sequence. A deterministic display order helps users navigate the list, but it does not prove the true order of events that the source never distinguished.
Keep event time separate from import time. Otherwise a migration performed today can make years of historical activity look as though it happened at launch.
5. Keep links and access rules meaningful
A migrated entry should still point to the right object. Map old event IDs, user IDs, organization IDs, and subject IDs to their new equivalents. Check not only that a link opens, but that it opens the correct record in the correct tenant.
Define behavior for missing or deleted subjects. A safe result might show “Document no longer available” while preserving the event, or hide certain details according to the agreed policy. Silently linking to a different record is worse than showing an unavailable item.
Then test permissions at the data and application layers. A user who can see a project may not be entitled to every internal note or administrative action associated with it. Verify the timeline list, individual event endpoints, search, exports, and any linked objects for each relevant role.
Use real-world scenarios: a customer sees their own request history but not another customer's; an internal reviewer sees the events required for their work; a removed team member no longer sees a restricted project. Security should be enforced server-side, not only by hiding entries in the interface.
6. Plan for new events during migration
Historical exports are snapshots. If the Bubble app remains live while the rebuild is underway, new activity can appear after the initial copy.
Choose a transition strategy that fits the app. One option is an initial import, followed by a final incremental sync during a controlled write pause. Another is a carefully designed synchronization process while both systems run. Either way, decide which system owns writes at each stage, how a late or repeated event is handled, and how gaps are detected.
Use a stable source event ID to make imports repeatable without creating duplicate timeline entries. Check that the same real-world action is not recorded once by Bubble and again by the new app during overlap. A duplicate key helps only when the two records can be reliably recognized as the same event; it does not solve every cross-system duplication problem.
Rehearse the final sync with a defined boundary, compare the source and target, and agree on a go/no-go owner. If the new app has already accepted activity and a rollback is needed, plan how those new events and their related business changes will be retained or reconciled before returning to Bubble. Switching traffic back alone is not a data recovery plan.
7. Reconcile the timeline, not only the row count
Matching event totals are useful, but they do not prove that the right events belong to the right people and records. Test at several levels:
- Coverage: Compare counts by event type, organization, and time period, including the oldest and newest events in scope.
- Identity: Check actors, including automated, deleted, and unknown actors.
- Relationships: Open event links and verify the subject and tenant.
- Meaning: Compare status changes, notes, and old/new values where captured.
- Time and order: Check timezone conversion, equal timestamps, and import timestamps.
- Permissions: Test allowed and denied access for each important role.
- Cutover: Create test events immediately before and after the boundary; check for missing or duplicate entries.
- Recovery: Rehearse a failed import or rollback and reconcile the events created in the meantime.
Have a business user review sample timelines alongside the engineering team. A technically valid row may still describe the wrong action or omit context people rely on.
Record mismatches and make the acceptance decision explicit. If a source lacks an event, document the gap rather than creating an authoritative-looking entry from a guess.
What if your Bubble app never recorded history?
You can migrate what exists, but you cannot reliably recreate a complete past from the current state alone.
A current status of “Approved” does not show who approved it or whether it was rejected twice first. A record's modified date does not explain every change that preceded it. Other systems may contain partial evidence, but its coverage and reliability need to be checked before combining it with the timeline.
A practical approach is to label the historical cutoff clearly, show only supported facts, and start recording the agreed event types going forward. If the app needs a security audit trail, design that separately: define required events, access, retention, integrity, review, and operational ownership. OWASP's logging guidance is a useful starting point for deciding what to record and protect, not a certification checklist.
Bubble activity history migration checklist
Before launch, confirm that:
- You know which histories exist, where they live, and how far back they go.
- Each in-scope event has a mapping for action, subject, actor, time, and visibility.
- Unknown or missing details remain clearly identified as unknown.
- Old and new IDs can be reconciled, and links point to the correct records.
- Date conversion and deterministic ordering have been tested.
- Permissions are enforced for lists, individual events, and linked objects.
- The final sync covers activity created after the initial export.
- Duplicate, missing, late, and post-rollback events have an agreed handling plan.
- A business owner has reviewed representative timelines and accepted known gaps.
Keep the story as well as the record
A migration should preserve the context people need to trust their work, not just the latest state of a database row. Start by identifying the history that exists, then map its meaning and access, rehearse the transition, and check representative timelines with the people who use them.
Frequently asked questions
- Does Bubble automatically provide a complete activity history?
- Do not assume so. Bubble provides server logs, and an app may also store its own activity records. What your customers can see, how long it exists, and whether each business action is represented depend on the app's design and available sources.
- Can I migrate activity events if a user has been deleted?
- Sometimes, but the result depends on what identity information remains and the applicable privacy and retention rules. Choose a consistent display and access policy, and preserve only information you are permitted and able to retain.
- Can I reconstruct missing events from the current database?
- You may be able to establish some current facts or recover partial evidence from other sources. You generally cannot prove a complete sequence of past actions from the latest state alone. Label gaps and avoid attributing actions without evidence.
- Is an activity feed the same as an audit log?
- No. A user-facing feed helps people understand product activity. A security or compliance audit trail can have different coverage, access, retention, integrity, and review requirements. The same event may contribute to both, but each purpose needs its own design and verification.
Sources
- 01Logs tab documentation · Bubble Docs
- 02export guide · Bubble Docs
- 03time and timezone guide · Bubble Docs
- 04OWASP's logging guidance · OWASP
Keep reading
Bubble to Code is an independent service. Not affiliated with, endorsed by, or sponsored by Bubble Group, Inc.
