keithwhor/nodal

Include a Buffer/BYTEA data_type

qjhart opened this issue · 0 comments

Since the new nodal includes file uploads, it'd be nice to have a best practice for saving files to the database. Maybe for relatively small files, we use bytea. The 'pg' module seems to convert between a javascript buffer and bytea pretty transparently already.