3 ms·
That is an interesting approach. Our of curiosity, how is an engineer made aware of the psql view? For example, the view likely relies on specific columns in
by correlator 6y ago
That is an interesting approach. Our of curiosity, how is an engineer made aware of the psql view? For example, the view likely relies on specific columns in specific models. What guard rails are available for preventing this kind of breaking change with the view approach?
- corwinstephen 6y agospecs--it's basically the same question as with changing the structure of any db table. How do you know some code doesn't rely on it? We also use/love this gem https://github.com/scenic-views/scenic https://github.com/scenic-views/scenic to version our views