surrealdb / surrealdb.go

SurrealDB SDK for Golang
https://surrealdb.com
Apache License 2.0
234 stars 63 forks source link

Add AutoMigration #43

Closed vzool closed 1 year ago

vzool commented 1 year ago

Covers TYPE, INDEX, UNIQUE, ASSERT, VALUE, SCHEMAFULL, SCHEMALESS

41

phughk commented 1 year ago

Haven't reviewed the code, but at a glance, it looks mostly ok. More pressing discussion on the issue page. Thank you so much for writing this!

phughk commented 1 year ago

Added the invalid tag. This isn't because it is "invalid", but because there is a discussion about driver scope in the issue attached ( #41 )

phughk commented 1 year ago

Closing this PR as it goes beyond the scope of the drivers. The purpose of drivers is to provide access to the database with a minimal footprint. Any additional helpers and automation can be provided as external libraries.