diff --git a/migrations/20260301042453_foot_float.js b/migrations/20260301042453_foot_float.js new file mode 100644 index 00000000..4e0831ed --- /dev/null +++ b/migrations/20260301042453_foot_float.js @@ -0,0 +1,23 @@ +exports.up = async function(knex) { + await knex.schema.alterTable('actors', (table) => { + table.decimal('foot') + .alter(); + }); + + await knex.schema.alterTable('actors_profiles', (table) => { + table.decimal('foot') + .alter(); + }); +}; + +exports.down = async function(knex) { + await knex.schema.alterTable('actors', (table) => { + table.integer('foot') + .alter(); + }); + + await knex.schema.alterTable('actors_profiles', (table) => { + table.integer('foot') + .alter(); + }); +}; diff --git a/src/actors.js b/src/actors.js index 98d25d00..f9a513c2 100755 --- a/src/actors.js +++ b/src/actors.js @@ -891,6 +891,8 @@ async function scrapeActors(argNames) { console.log(util.inspect(profiles, { depth: Infinity, colors: true })); } + console.log('PROFILES', profiles); + if (argv.save) { await storeProfiles(profiles); }