Compare commits
2
Commits
ec0812ad9d
...
7df69021ea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7df69021ea | ||
|
|
7a051aefa6 |
+5
-1
@@ -188,7 +188,11 @@ export async function interpolateProfiles(actorIdsOrNames, context, options = {}
|
|||||||
const transaction = await context.knex.transaction();
|
const transaction = await context.knex.transaction();
|
||||||
|
|
||||||
// clear existing interpolated data
|
// clear existing interpolated data
|
||||||
const emptyProfile = Object.fromEntries(columns.filter((key) => !preservedKeys.includes(key)).map((key) => [key, null]));
|
const emptyProfile = {
|
||||||
|
...Object.fromEntries(columns.filter((key) => !preservedKeys.includes(key)).map((key) => [key, null])),
|
||||||
|
date_of_birth_precision: 'day',
|
||||||
|
date_of_death_precision: 'day',
|
||||||
|
};
|
||||||
|
|
||||||
await context.knex('actors')
|
await context.knex('actors')
|
||||||
.modify((modifyBuilder) => {
|
.modify((modifyBuilder) => {
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx-utils",
|
"name": "traxxx-utils",
|
||||||
"version": "1.3.6",
|
"version": "1.3.7",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx-utils",
|
"name": "traxxx-utils",
|
||||||
"version": "1.3.6",
|
"version": "1.3.7",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.25.7",
|
"@babel/cli": "^7.25.7",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx-common",
|
"name": "traxxx-common",
|
||||||
"version": "1.3.6",
|
"version": "1.3.7",
|
||||||
"description": "Common utilities for traxxx core and web.",
|
"description": "Common utilities for traxxx core and web.",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user