rebus-org / Rebus.PostgreSql

:bus: PostgreSQL persistence for Rebus
https://mookid.dk/category/rebus
Other
17 stars 19 forks source link

Added support for schemas in Postgres #33

Closed patrick11994 closed 1 year ago

patrick11994 commented 1 year ago

Added support for selecting a schema for the tables that Rebus will create and use. The requested schema will also be created when not available.

All tests are passing. One of the Saga tests is used for testing the new schema support.

This will also fix a bug that occurs when a table was not yet created in the default scheme (public), but was available in a different scheme. The table wasn't created because there was already a table with the same name. It will now check if the table with the same name is also in the same schema.

This will resolve issues #11 and #29

I hope you like it!


Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.

mookid8000 commented 1 year ago

Perfect! 👍 It's on NuGet.org as Rebus.PostgreSql 8.2.0-b2 now 🙂