Skip to content

Policies for tables are not added in migration on db pull #3919

@xidsyed

Description

@xidsyed

Describe the bug

  • perform supabase db pull on a fresh local instance from a fresh remote instane with one dummy posts table with few dummy rows . and rls policies. also one storage bucket posts with one rls policy on storage.objects table.

  • migration file gets created on both sides.

  • supabase db reset to apply migration and seed data

  • everything shows up perfectly. EXCEPT THE POLICY FOR STORAGE.OBJECTS

Supabase CLI 2.31.8

Image

should i not rely on the supabase db diff command to make migrations for me?

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