connect postgresql to node js knex code example
Example 1: knex migration
// best tutorial knex migration
https://www.youtube.com/watch?v=ipAH7lMfq7k
https://www.youtube.com/watch?v=U7GjS3FuSkA
Example 2: knexjs execute all migrations
$ knex migrate:make create_users_table
$ knex migrate:make create_tasks_table