Fork me on GitHub
#sql
<
2021-03-03
>
borkdude12:03:28

Would it be bad to add automatic handling of inserting Clojure vectors to pg arrays and vice versa?

valtteri06:03:30

At least I would like to have control whether it transforms to pg array, jsonb or something else depending on the case :thinking_face:

valtteri06:03:32

If I got the question right 🙂

borkdude12:03:35

To a sql tool

borkdude12:03:46

What can go wrong?

teodorlu12:03:36

Hey! I'm looking for a lightweight way to do migrations. I'm using next.jdbc. Any suggestions?

borkdude12:03:55

I've been using migratus for a long time now. Works great for us.

👍 1
teodorlu12:03:50

Thanks! I'll give Migratus a try. https://github.com/yogthos/migratus

borkdude12:03:41

The issue there is that to communicate with a pod (a kind of RPC server), we have to serialize arguments. But Java arrays aren't supported in EDN or transit by default.