fortunejs / fortune-postgres

Postgres adapter for Fortune.
MIT License
23 stars 21 forks source link

empty array as a default for new array columns #12

Closed kketch closed 8 years ago

gr0uch commented 8 years ago

This will assign the empty array onto NULL values, right?

kketch commented 8 years ago

Yes, it will first update existing rows with the empty array, then postgres will not complain about applying the not null constraint

gr0uch commented 8 years ago

Merged, thanks! :beer: