diff --git a/bun.lockb b/bun.lockb index 16dca78..3602043 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/load-activities.ts b/load-activities.ts index ffb9f27..75507ae 100644 --- a/load-activities.ts +++ b/load-activities.ts @@ -135,7 +135,9 @@ try { "from_accepted_tag", "pr_count", "total_photo_count", - "has_kudoed") + "has_kudoed", + "average_watts", + "weighted_average_watts") VALUES ( $1, @@ -191,7 +193,9 @@ try { $51, $52, $53, - $54 + $54, + $55, + $56 )`; const values = [ @@ -249,6 +253,8 @@ try { activity.pr_count, activity.total_photo_count, activity.has_kudoed, + activity.average_watts, + activity.weighted_average_watts, ]; try { diff --git a/schema.sql b/schema.sql index 1156dcd..406dbc3 100644 --- a/schema.sql +++ b/schema.sql @@ -52,5 +52,7 @@ CREATE TABLE "activities" ( "from_accepted_tag" boolean, "pr_count" double precision, "total_photo_count" double precision, - "has_kudoed" boolean + "has_kudoed" boolean, + "average_watts" double precision, + "weighted_average_watts" double precision );