upgrades: rename stripe_id to transaction_id

* Rename the stripe_id column to transaction_id.
* Add a new payment_processor column to identity the processor used for
  this transaction (and hence, which backend system the transaction_id is for).
This commit is contained in:
evazion
2022-05-14 13:07:50 -05:00
parent 6de527f064
commit 4b65e96abc
7 changed files with 39 additions and 19 deletions

View File

@@ -4,7 +4,7 @@ FactoryBot.define do
purchaser { recipient }
upgrade_type { "gold" }
status { "pending" }
stripe_id { nil }
transaction_id { nil }
factory(:self_gold_upgrade) do
upgrade_type { "gold" }