You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add TODO comment for future ERROR_REASON_DATASTORE_NOT_MIGRATED
- Simplify error message format to: "%w. please run migrate"
- Use IsMissingTableError + reassignment pattern (not early return)
- Export PgMissingTable constant, remove duplicates from migration drivers
- Add Spanner IsMissingTableError support in reader.go and caveat.go
- Differentiate CRDB watch service error message for missing tables
- Add ImportBulk error handling in bulk.go
- Update tests for new error message format
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
features.Watch.Reason="Range feeds must be enabled in CockroachDB and the user must have permission to create them in order to enable the Watch API: "+err.Error()
576
+
ifpgxcommon.IsMissingTableError(err) {
577
+
features.Watch.Reason="Database schema has not been initialized. Please run \"spicedb datastore migrate\": "+err.Error()
578
+
} else {
579
+
features.Watch.Reason="Range feeds must be enabled in CockroachDB and the user must have permission to create them in order to enable the Watch API: "+err.Error()
0 commit comments