-
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Goal
Set up the initial relational schema (or document store collections) for the REST API and generate migration files that can be run locally and in CI/CD.
Tasks
- Define tables/collections for
Users,Roles,Tokens, and any domain entities needed by the first version of the API. - Utilize Phinx for migrations and add it as a Composer dependency.
- Write migration scripts for:
•userstable
•rolestable (if applicable)
•jwt_blacklistorrefresh_tokenstable (optional, for revocation) - Ensure migrations are idempotent and can be rolled back.
- Add a
migrateshortcut script tocomposer.jsonfor developers.
Acceptance Criteria
- Running
composer migratecreates the full schema on a fresh DB. - All migrations have clear documentation/comments.
- CI pipeline runs migrations against a test database without errors.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Implemented