Skip to content

Migration using raw tables doesn't trigger watched queries #379

@js2702

Description

@js2702

Our migration only consist of a new table in the sync rules. We have created the raw table in the local db migration and we have calledSELECT powersync_trigger_resync(TRUE) manually after the app has opened, migrated and connected to PS. What we are seeing is that after using this statement the data is not available in the raw table until restarting the app.

If we do the trigger before connecting it seems to work. Is this expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions