Skip to content

CONV-237: Publish Cashier migrations and add Billable trait#207

Merged
menvil merged 1 commit into
developfrom
feature/CONV-237-publish-cashier-migrations-and-add-billable-trait
Jun 2, 2026
Merged

CONV-237: Publish Cashier migrations and add Billable trait#207
menvil merged 1 commit into
developfrom
feature/CONV-237-publish-cashier-migrations-and-add-billable-trait

Conversation

@menvil

@menvil menvil commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Published Cashier migrations (customer columns, subscriptions, subscription items tables)
  • Added Billable trait to User model
  • Added unit test verifying User uses Billable
  • Existing plan/credits logic unaffected (426 tests pass)

Test plan

  • composer test passes (426 tests)
  • composer lint passes
  • php artisan migrate completes successfully

🤖 Generated with Claude Code


Summary by cubic

Enables Stripe billing via laravel/cashier by adding Billable to User and publishing the required migrations. Prepares subscriptions and usage metering without changing existing plan/credits logic (CONV-237).

  • New Features

    • Added Laravel\Cashier\Billable to User.
    • Published Cashier migrations: customer columns on users, subscriptions, subscription_items, plus meter_id and meter_event_name for usage-based billing.
    • Added a unit test to confirm User uses Billable.
  • Migration

    • Run: php artisan migrate

Written for commit 0833322. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 0b59bc56-f989-4906-bd41-77d7cabe74fb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/CONV-237-publish-cashier-migrations-and-add-billable-trait

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@menvil menvil merged commit 7e0448d into develop Jun 2, 2026
1 check was pending
@menvil menvil deleted the feature/CONV-237-publish-cashier-migrations-and-add-billable-trait branch June 2, 2026 14:32
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