我想在我的一个Knex.js迁移中使用money数据类型。 我使用的是具有'money‘数据类型(docs)的PostgresQL,我想在我的表中使用它。我试着简单地调用table.money('price'),但是我得到一个错误,说 TypeError: table.money is not a function 有没有什么方法可以通过Knex.js使用
我正在尝试将postgres数据持久化到一个码头容器中,这样,一旦您docker-compose down and docker-compose up -d,您就不会丢失上一次会话中的数据。volumes_from: image: "postgres:9.5.2" - /var/lib/postgresql