gorm-multitenancy

🚀📦 Multi-tenancy support for GORM managed databases

APACHE-2.0 License

Stars
39

Bot releases are visible (Hide)

gorm-multitenancy - v2.5.4

Published by github-actions[bot] 9 months ago

2.5.4 (2024-01-27)

Bug Fixes

  • update postgres docs reference typos (e955618)
gorm-multitenancy - v2.5.3

Published by github-actions[bot] 9 months ago

2.5.3 (2024-01-27)

Bug Fixes

  • update MigratePublicSchema docs typo (4c62b85)
gorm-multitenancy - v2.5.2

Published by github-actions[bot] 9 months ago

2.5.2 (2024-01-27)

Bug Fixes

  • Update main and example README files (a8579a3)
gorm-multitenancy - v2.5.1

Published by github-actions[bot] 9 months ago

2.5.1 (2024-01-25)

Bug Fixes

  • update migrator alias, add fossa workflow (6bec9f4)
gorm-multitenancy - v2.5.0

Published by github-actions[bot] 9 months ago

2.5.0 (2024-01-24)

Features

  • make thread safe, add fossa scan (91988ab)
gorm-multitenancy - v2.4.0

Published by github-actions[bot] 9 months ago

2.4.0 (2024-01-24)

Features

  • add postgres SetSearchPath utility (78370dd)
gorm-multitenancy - v2.3.0

Published by github-actions[bot] 9 months ago

2.3.0 (2024-01-18)

Features

  • add postgres GetSchemaNameFromDb helper (f398e7b)
gorm-multitenancy - v2.2.0

Published by github-actions[bot] 9 months ago

2.2.0 (2024-01-15)

Features

  • add fk constraint to examples and docs (df61a7c)
gorm-multitenancy - v2.1.0

Published by github-actions[bot] 9 months ago

2.1.0 (2024-01-12)

Bug Fixes

  • update semantic-release permissions (00ebe47)

Features

  • add semantic-release workflow (edc9587)
gorm-multitenancy - v2.0.4

Published by bartventer 10 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