diff --git a/common b/common index f69e343d..c068c759 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit f69e343d8941b83e706c6af05e74be54e87d85a6 +Subproject commit c068c759b2bb62fad44c87226a780532b771479b diff --git a/migrations/20241024182155_actor_fields.js b/migrations/20241024182155_actor_fields.js new file mode 100644 index 00000000..e50018c0 --- /dev/null +++ b/migrations/20241024182155_actor_fields.js @@ -0,0 +1,19 @@ +function createColumns(table) { + table.enum('boobs_incision', ['mammary', 'areolar', 'crescent', 'lollipop', 'anchor', 'axillary', 'umbilical']); + table.boolean('natural_labia'); +} + +exports.up = async (knex) => { + await knex.schema.alterTable('actors', createColumns); + await knex.schema.alterTable('actors_profiles', createColumns); +}; + +function dropColumns(table) { + table.dropColumn('boobs_incision'); + table.dropColumn('natural_labia'); +} + +exports.down = async (knex) => { + await knex.schema.alterTable('actors', dropColumns); + await knex.schema.alterTable('actors_profiles', dropColumns); +}; diff --git a/seeds/02_sites.js b/seeds/02_sites.js index 7cfcf845..e4c193b4 100755 --- a/seeds/02_sites.js +++ b/seeds/02_sites.js @@ -15755,7 +15755,8 @@ const sites = [ parent: 'radical', parameters: { layout: 'api', - endpoint: 'QrQe_TF3broC5P80XTIbd', + // endpoint: 'QrQe_TF3broC5P80XTIbd', + endpoint: 'E06HaYWbvDg4UG8fIsSi2', }, }, { @@ -15766,7 +15767,8 @@ const sites = [ parent: 'radical', parameters: { layout: 'api', - endpoint: 'nOpFJJgD_-c5PrBqecVXA', + // endpoint: 'nOpFJJgD_-c5PrBqecVXA', + endpoint: 'GUZuXniB1KVJwF9ZDWiRe', }, }, { @@ -15777,7 +15779,8 @@ const sites = [ parent: 'radical', parameters: { layout: 'api', - endpoint: 'fnkMPhO2Gd-XwWTZHyftg', + // endpoint: 'fnkMPhO2Gd-XwWTZHyftg', + endpoint: 'K9_0ysd-cpgwtSaZ8_nPT', }, }, // REALITY KINGS diff --git a/src/actors.js b/src/actors.js index 185a4613..327b6ec6 100755 --- a/src/actors.js +++ b/src/actors.js @@ -360,7 +360,7 @@ async function fetchProfiles(actorIdsOrNames) { .leftJoin('media', 'actors_profiles.avatar_media_id', 'media.id'); } -async function interpolateProfiles(actorIdsOrNames) { +async function interpolateProfiles(actorIdsOrNames, refreshView) { const { interpolateProfiles: interpolateProfilesUtil } = await actorsCommon; try { @@ -370,7 +370,7 @@ async function interpolateProfiles(actorIdsOrNames) { moment, slugify, omit, - }); + }, { refreshView }); } catch (error) { console.log(error); } diff --git a/src/app.js b/src/app.js index 679db054..a7567159 100755 --- a/src/app.js +++ b/src/app.js @@ -122,7 +122,7 @@ async function init() { } if (argv.interpolateProfiles) { - await interpolateProfiles(argv.interpolateProfiles.length > 0 ? argv.interpolateProfiles : null); + await interpolateProfiles(argv.interpolateProfiles.length > 0 ? argv.interpolateProfiles : null, true); } if (argv.flushActors) {