This changes the ChangeLog struct to use only ansi sql datatypes so compatiblity is provided with databases besides postgresql. I've removed jsonb type, and I'm using the ansi sql json type instead, which can be represented as a string in the go struct.
The UUID sql type was removed, and the struct datatype was changed to be the uuid.UUID datatype. This datatype implements the sql.Value() and sql.Parse() interfaces so it can handle the conversion from the database.
This changes the ChangeLog struct to use only ansi sql datatypes so compatiblity is provided with databases besides postgresql. I've removed jsonb type, and I'm using the ansi sql
json
type instead, which can be represented as a string in the go struct.The UUID sql type was removed, and the struct datatype was changed to be the uuid.UUID datatype. This datatype implements the
sql.Value()
andsql.Parse()
interfaces so it can handle the conversion from the database.These changes were tested on mariadb 10.2.
Closes #11