Having an issue when trying to insert a relation: ...
# talk-keto
d
Having an issue when trying to insert a relation:
Copy code
│ 2022/09/09 03:02:04 Encountered error: rpc error: code = Unknown desc = ERROR: column "namespace" of relation "keto_relation_tuples" does not exist (SQLSTATE 42703)
Not sure why I am getting this error with this.
Copy code
Action: rts.RelationTupleDelta_ACTION_INSERT,
RelationTuple: &rts.RelationTuple{
	Namespace: namespace,
	Object:    "*",
	Relation:  "member",
	Subject:   rts.NewSubjectID(subject),
}
s
Did you apply migrations? looks like the db schema is not in line with the server version
d
I forgot to reply with my answer. But, yes I had to remove the old relations that had an empty object, then make sure keto migrations are ran again.