- Added new structured snapshot types for orders and order items to improve data integrity and clarity. - Updated the Order and OrderItem models to use the new JSONType for snapshots. - Refactored tests to accommodate the new snapshot structure, ensuring compatibility with legacy data. - Enhanced the OrdersSnapshot struct to support multiple snapshot types and maintain backward compatibility. - Introduced new fields for order items and orders to capture detailed snapshot information for auditing and historical display.
32 lines
418 B
Plaintext
32 lines
418 B
Plaintext
bin/*
|
|
vendor/
|
|
__debug_bin*
|
|
build/*
|
|
.vscode
|
|
.idea
|
|
tmp/
|
|
.cache/
|
|
.gocache/
|
|
.gotmp/
|
|
docker-compose.yml
|
|
sqlite.db
|
|
go.work
|
|
go.work.sum
|
|
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binary, built with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
|
|
# Dependency directories (remove the comment below to include it)
|
|
# vendor/
|
|
node_modules/
|
|
dist/
|