add worker with analyze go.mod(pref ver util)

This commit is contained in:
2023-08-10 17:53:11 +03:00
parent 89522f28da
commit a5a6c683a4
11 changed files with 428 additions and 30 deletions

View File

@@ -14,7 +14,8 @@ create table if not exists comment (
create table if not exists module (
id serial not null unique primary key ,
name varchar not null ,
version varchar not null
version varchar not null ,
last_version varchar not null
);
create table if not exists issue (
@@ -34,4 +35,5 @@ create table if not exists package (
comments integer[] default '{}'::integer[]
);
create unique index module_info on module(name, version);