Skip to content

feat(database): add database migration and integration testing - #4

Merged
Akisolu merged 6 commits into
mainfrom
feat/schema-and-migrations
Aug 11, 2026
Merged

feat(database): add database migration and integration testing#4
Akisolu merged 6 commits into
mainfrom
feat/schema-and-migrations

Conversation

@Akisolu

@Akisolu Akisolu commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Description

The initial PostgreSQL schema, migration CLI, and integration tests have been added.

Main Changes:

  • SQL Schema (001_create_feedback_system_tables.sql): Tables users, states, feedbacks, feedback_records, indexes, seed data, and audit TRIGGER.
  • CLI (bin/migrate.php): Script to run migrations using PDO transactions.
  • Tests (FeedbackMigrationTest.php): Integration test to validate the structure and integrity in PostgreSQL.
  • CI (ci.yml): Automatic execution of migration and tests in GitHub Actions.

Validation

  • Migration executed with php bin/migrate.php.
  • Integration tests passed (vendor/bin/phpunit).
  • CI pipeline verified.

@Akisolu Akisolu self-assigned this Aug 11, 2026
@Akisolu Akisolu changed the title feat(migrations and ): add RateLimiter service, unit tests, and GitHub Actions CI- #2 #2 feat(database): add database migration and integration testing Aug 11, 2026
@Akisolu
Akisolu merged commit 718fad2 into main Aug 11, 2026
1 check passed
@Akisolu
Akisolu deleted the feat/schema-and-migrations branch August 11, 2026 04:19
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