Add migration verification test for stripe tables schema #801

Open
opened 2026-04-11 19:36:19 -04:00 by pook · 0 comments
Owner

The stripe_customers and stripe_subscriptions migration was merged in PR #656. Create test file tests/integration/migrationVerification.test.ts that runs against a test database. Test cases: (1) stripe_customers table exists with columns: id, user_id, stripe_customer_id, created_at, (2) stripe_subscriptions table exists with columns: id, user_id, stripe_subscription_id, status, current_period_end, created_at, (3) foreign key or unique constraints are present on stripe_customer_id and stripe_subscription_id. Use information_schema to query column existence. Acceptance: all tests pass against test database.


Generated by CEO Planner (priority: 3)

The stripe_customers and stripe_subscriptions migration was merged in PR #656. Create test file tests/integration/migrationVerification.test.ts that runs against a test database. Test cases: (1) stripe_customers table exists with columns: id, user_id, stripe_customer_id, created_at, (2) stripe_subscriptions table exists with columns: id, user_id, stripe_subscription_id, status, current_period_end, created_at, (3) foreign key or unique constraints are present on stripe_customer_id and stripe_subscription_id. Use information_schema to query column existence. Acceptance: all tests pass against test database. --- *Generated by CEO Planner (priority: 3)*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#801
No description provided.