Skip to content

feat: multiple payment methods / default payments#282

Open
mileszim wants to merge 1 commit intomainfrom
multiple-payments
Open

feat: multiple payment methods / default payments#282
mileszim wants to merge 1 commit intomainfrom
multiple-payments

Conversation

@mileszim
Copy link
Copy Markdown
Contributor

@mileszim mileszim commented Jan 2, 2023

No description provided.

@what-the-diff
Copy link
Copy Markdown

what-the-diff Bot commented Jan 2, 2023

  • Added a new column to the users table called default_payment_method_id
  • Changed the User model so that it has an association with payment methods, and added a method for getting this value
  • Updated schema file to reflect changes in database structure (added foreign key)
  • Updated factory bot user definition to include default payment method id as well

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