How to do a database migration?

I’ve added a new table and add it to schema.js and I am doing:
npx knex migrate:make address but I am getting:

Failed to resolve config file, knex cannot determine where to generate migrations
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined

Any idea of what are the steps to do a database migration?

Ghost doesn’t use knex for migrations, it uses knex-migrator. That being said, Ghost runs migrations automatically so you don’t really have to run them manually.