Skip to content

Nuking db during development #378

@bellebethcooper

Description

@bellebethcooper

Hello,

Sorry for another question so soon! I've scoured the docs re: migrations and haven't been able to find the answer I'm looking for. I'm developing an app that's a client for a web app, so I'm using GRDB to persist the user's data locally after requesting it from the server. While I'm in the development phase, there are many times I want to force the app to request server-side data in order to test changes I'm making, and I'm struggling to figure out how to do this.

When using Realm previously there was a way to skip doing any migrations and just nuke everything in the db. This is essentially what I want: a temporary way to make each new load of the app have an empty database until I'm ready to send it out to users and start using migrations.

Is something like this possible with GRDB?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions