Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add sql persister #350

Merged
merged 13 commits into from
Dec 2, 2020
Merged

feat: add sql persister #350

merged 13 commits into from
Dec 2, 2020

Conversation

zepatrik
Copy link
Member

Related issue

#300

Proposed changes

The persister only supports sqlite right now for easy testing. If the schema is accepted as is I will add support for other dbals in a separate PR.

zepatrik and others added 9 commits November 11, 2020 13:25
# Conflicts:
#	cmd/relationtuple/get.go
#	cmd/serve.go
#	internal/driver/registry_default.go
#	internal/persistence/definitions.go
#	internal/persistence/memory/definitions.go
#	internal/persistence/memory/relationtuples.go
#	internal/persistence/memory/relationtuples_test.go
#	internal/persistence/sql/migrations/20201110175414_relationtuple.sqlite.down.sql
#	internal/persistence/sql/migrations/20201110175414_relationtuple.sqlite.up.sql
#	internal/persistence/sql/namespace.go
#	internal/persistence/sql/persister.go
#	internal/persistence/sql/relationtuples.go
# Conflicts:
#	cmd/relationtuple/get.go
#	cmd/serve.go
#	go.mod
#	go.sum
#	internal/check/engine.go
#	internal/check/engine_test.go
#	internal/driver/registry_default.go
#	internal/expand/engine.go
#	internal/expand/engine_test.go
#	internal/persistence/definitions.go
#	internal/persistence/memory/definitions.go
#	internal/persistence/memory/relationtuples.go
#	internal/persistence/memory/relationtuples_test.go
#	internal/relationtuple/definitions.go
#	internal/relationtuple/handler.go
#	internal/relationtuple/relationtuple.pb.go
#	internal/relationtuple/relationtuple.proto
@zepatrik zepatrik marked this pull request as draft November 27, 2020 15:33
@zepatrik zepatrik marked this pull request as ready for review December 2, 2020 11:21
@zepatrik zepatrik merged commit d595d52 into zanzibar Dec 2, 2020
@zepatrik zepatrik deleted the sql-persister branch December 2, 2020 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant