Skip to content

[Issue]: Per-User Service Pricing Mapping Schema #42

@achneerov

Description

@achneerov

Task

  • Update services table schema: rename stripe_price_id to stripe_default_price_id.
  • Create services_pricing_mapping table to allow per-user custom pricing for services.
  • services_pricing_mapping should contain user_id (referencing auth.users.id), service_id, stripe_price_id, and quantity columns.

Acceptance Criteria

  • services table has stripe_default_price_id instead of stripe_price_id.
  • services_pricing_mapping table is created.
  • Drizzle migration generated for these schema changes.

Checklist

  • I have checked for duplicate issues.
  • I have assigned the issue to the correct project board.
  • I have tagged the issue properly.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions