Commit d23326b
authored
chore(spanner): add gorm data type names for PG types (#13584)
Add gorm data type names for PostgreSQL-specific types. This prevents
gorm from interpreting these structs as models, and automatically
creates columns with the correct data type when used as a field in a
model.
Needed for googleapis/go-gorm-spanner#1991 parent bc92500 commit d23326b
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
1054 | 1059 | | |
1055 | 1060 | | |
1056 | 1061 | | |
| |||
1285 | 1290 | | |
1286 | 1291 | | |
1287 | 1292 | | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
1288 | 1298 | | |
1289 | 1299 | | |
1290 | 1300 | | |
| |||
0 commit comments