diff options
Diffstat (limited to 'internal/postgres/insert_module.go')
| -rw-r--r-- | internal/postgres/insert_module.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/postgres/insert_module.go b/internal/postgres/insert_module.go index 5780640c..095bcacd 100644 --- a/internal/postgres/insert_module.go +++ b/internal/postgres/insert_module.go @@ -176,8 +176,9 @@ func insertModule(ctx context.Context, db *database.DB, m *internal.Module) (_ i source_info, redistributable, has_go_mod, + deprecated_comment, incompatible) - VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9,$10) + VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11) ON CONFLICT (module_path, version) DO UPDATE SET @@ -193,6 +194,7 @@ func insertModule(ctx context.Context, db *database.DB, m *internal.Module) (_ i sourceInfoJSON, m.IsRedistributable, m.HasGoMod, + m.DeprecatedComment, isIncompatible(m.Version), ).Scan(&moduleID) if err != nil { |
