argustack 0.1.27 → 0.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -118,8 +118,8 @@ export class PostgresStorage {
118
118
  await client.query('BEGIN');
119
119
  for (const commit of batch.commits) {
120
120
  await client.query(`INSERT INTO commits (hash, message, author, email, committed_at, parents, repo_path, pulled_at, search_vector)
121
- VALUES ($1, $2::text, $3::text, $4::text, $5, $6::text[], $7::text, NOW(),
122
- to_tsvector('english', coalesce($2::text, '') || ' ' || coalesce($3::text, ''))
121
+ VALUES ($1, $2, $3, $4, $5, $6::text[], $7, NOW(),
122
+ to_tsvector('english', coalesce($2, '') || ' ' || coalesce($3, ''))
123
123
  )
124
124
  ON CONFLICT (hash) DO UPDATE SET
125
125
  message = EXCLUDED.message,
@@ -180,12 +180,12 @@ export class PostgresStorage {
180
180
  labels, reviewers, additions, deletions, changed_files,
181
181
  raw_json, pulled_at, search_vector
182
182
  ) VALUES (
183
- $1, $2, $3::text, $4::text, $5, $6,
183
+ $1, $2, $3, $4, $5, $6,
184
184
  $7, $8, $9, $10,
185
185
  $11, $12, $13,
186
186
  $14::text[], $15::text[], $16, $17, $18,
187
187
  $19, NOW(),
188
- to_tsvector('english', coalesce($3::text, '') || ' ' || coalesce($4::text, ''))
188
+ to_tsvector('english', coalesce($3, '') || ' ' || coalesce($4, ''))
189
189
  )
190
190
  ON CONFLICT (repo_full_name, number) DO UPDATE SET
191
191
  title = EXCLUDED.title,
@@ -260,10 +260,10 @@ export class PostgresStorage {
260
260
  draft, prerelease, created_at, published_at,
261
261
  raw_json, pulled_at, search_vector
262
262
  ) VALUES (
263
- $1, $2, $3, $4::text, $5::text, $6,
263
+ $1, $2, $3, $4, $5, $6,
264
264
  $7, $8, $9, $10,
265
265
  $11, NOW(),
266
- to_tsvector('english', coalesce($4::text, '') || ' ' || coalesce($5::text, '') || ' ' || coalesce($3, ''))
266
+ to_tsvector('english', coalesce($4, '') || ' ' || coalesce($5, '') || ' ' || coalesce($3, ''))
267
267
  )
268
268
  ON CONFLICT (repo_full_name, id) DO UPDATE SET
269
269
  tag_name = EXCLUDED.tag_name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "argustack",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "Project analysis platform — Jira + Git + DB",
5
5
  "type": "module",
6
6
  "bin": {