Skip to content

feat(org): add limits db engine for org build limits - #8

Open
alexhholmes-work wants to merge 1 commit into
feat/org-build-limit-typesfrom
feat/org-build-limit-db
Open

alexhholmes-work wants to merge 1 commit into
feat/org-build-limit-typesfrom
feat/org-build-limit-db

Conversation

@alexhholmes-work

@alexhholmes-work alexhholmes-work commented Aug 26, 2026

Copy link
Copy Markdown

Database engine for the org_build_limits table with full CRUD operations, following the existing engine pattern used by other database packages.

Changes

  • Add database/limits package with Engine struct implementing the LimitInterface
  • Implement CreateOrgBuildLimit, GetOrgBuildLimit, UpdateOrgBuildLimit, and DeleteOrgBuildLimit operations
  • Add LimitInterface to the top-level database.Interface and wire it into database.New
  • Add table creation in limits/table.go with org_build_limits schema
  • Add engine options (WithClient, WithLogger, WithSkipCreation) in limits/opts.go
  • Add integration tests covering all CRUD operations
  • Add unit tests for all engine methods, options, and table creation

@alexhholmes-work
alexhholmes-work force-pushed the feat/org-build-limit-db branch from 5dfb26c to 7c81c3e Compare August 26, 2026 19:46
@alexhholmes-work
alexhholmes-work marked this pull request as ready for review August 27, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant