Skip to content

Comment on Rapid schema development with PostgreSQL

Comments

When would the hybrid schema approach be useful?

To my mind it doesn't offer any extra ability to add or remove columns over what we have already.

E.g. I'd never write select * I'd always name columns in my query so that I can be immune to reordering or adding columns to the underlying table or view.

Where we are looking at it in LedgerSMB is to allow user defined extra fields for forms. A previous approach was a framework for managing join tables, but json would be much cleaner.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.