Skip to content

Seeding data in Supabase #61

@ko-karol

Description

@ko-karol

Hi, is me again.

I enjoyed your hacky solution, though it didn't seem right and there has to be a better way.
Have you seen these docs? https://supabase.com/docs/guides/cli/local-development#add-sample-data

Here you use the cli to push local database changes to the remote db, with a local seed.sql.
Haven't tried it myself, but it seems legit. ✌️

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