gorm-multitenancy

🚀📦 Multi-tenancy support for GORM managed databases

APACHE-2.0 License

Stars
39

Bot releases are hidden (Show)

gorm-multitenancy - v2.0.4

Published by bartventer 9 months ago

gorm-multitenancy - v2.0.3

Published by bartventer 10 months ago

Remove transaction for public migration

gorm-multitenancy - v2.0.2

Published by bartventer 10 months ago

Update table name validation logic

gorm-multitenancy - v2.0.1

Published by bartventer 10 months ago

  • Update postgresql driver usage notes
gorm-multitenancy - v2.0.0

Published by bartventer 10 months ago

Breaking change added to ensure models implement gorm.Tabler interface, and to ensure both public and private models are named correctly (i.e. public models should contain public. prefix):

  • New and Open functions could panic
  • RegisterModels now returns an error

Important notes have been added to the PostgreSQL usage docs to emphasize the importance of table naming conventions.

gorm-multitenancy - v1.0.9

Published by bartventer 10 months ago

Update middleware usage documentation

gorm-multitenancy - v1.0.8

Published by bartventer 10 months ago

Add http middleware examples to docs

gorm-multitenancy - v1.0.7

Published by bartventer 10 months ago

Add example usage for PostgreSQL driver

gorm-multitenancy - v1.0.5

Published by bartventer 10 months ago

Update version control tracking

gorm-multitenancy - v1.0.4

Published by bartventer 10 months ago

  • Refactor documentation and usage examples
  • Add unit tests for postgresql driver
gorm-multitenancy - v1.0.0

Published by bartventer 10 months ago

Multi-tenancy support for gorm managed databases, with additional HTTP middleware

Package Rankings
Top 6.48% on Proxy.golang.org
Badges
Extracted from project README
Mentioned in Awesome Go Go Reference Release Go Report Card codecov Tests License
Related Projects