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
The .Indexes field on the Table struct in the templates has an inconsistent order. This is due, most likely, to using a map instead of a slice in database/drivers/*/parse.go. The database returns the rows in a consistent order.
It will also prevent regeneration of files from triggering diffs if there's no actual change in the data.
The text was updated successfully, but these errors were encountered:
fixesgnormal#82
The databases return index data in a consistent order. The previous
process did not respect that through its use of a map as an
intermediate store. By using slices, we now guarantee that the template
will see the indexes in the order the database returned them.
* ensure consistent index ordering
fixes#82
The databases return index data in a consistent order. The previous
process did not respect that through its use of a map as an
intermediate store. By using slices, we now guarantee that the template
will see the indexes in the order the database returned them.
* pluralize tableIndex
The
.Indexes
field on theTable
struct in the templates has an inconsistent order. This is due, most likely, to using a map instead of a slice indatabase/drivers/*/parse.go
. The database returns the rows in a consistent order.It will also prevent regeneration of files from triggering diffs if there's no actual change in the data.
The text was updated successfully, but these errors were encountered: