oguimbal / pg-mem

An in memory postgres DB instance for your unit tests
MIT License
1.95k stars 94 forks source link

Rebuild alias on column rename #341

Closed krumft closed 11 months ago

krumft commented 1 year ago

This should fix https://github.com/oguimbal/pg-mem/issues/340

TDD: The provided test fails without the provided fix.

Rationale: I have noticed that in many places in the code base after this.table.db.onSchemaChange() there is an invocation of this.selection.rebuild(). However this was not the case in this place.

oguimbal commented 11 months ago

thanks, sorry for the delay, i'll release that shortly

oguimbal commented 11 months ago

released as pg-mem@2.7.0

krumft commented 11 months ago

Thank you so much!