-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
If starting from fresh postgres, we aren't able to bootstrap the DB and SpiceDB Schema, we get this error:

Cause
We aren't passing any NamespaceID while creating any role, thus we are getting.
In #131, this line was removed which was check for namespace_id to be empty or not - internal/store/postgres/role.go#L130
PG Error:
Debug:
To Reproduce
Steps to reproduce the behavior:
- Start a new PG Instance and run
shield migrate - Try to run
shield serve
Expected behavior
We should be successfully bootstrapping the roles, namespaces, actions and schema
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

