add support for WithVersion option to updates (#126)

This commit is contained in:
Jim authored and GitHub committed 2020-06-24 12:33:49 -04:00
1 parent c110c86ee5
commit 6641244734
11 files changed
+323 -50

No files matched your search

@@ -29,8 +29,14 @@ message StoreTestUser {
// @inject_tag: `gorm:"default:null"`
string name = 5;
// @inject_tag: `gorm:"default:null"`
string phone_number = 6;
// @inject_tag: `gorm:"default:null"`
string email = 7;
// @inject_tag: `gorm:"default:null"`
uint32 version = 8;
}
// TestCar for gorm test car model
message StoreTestCar {