diff --git a/app/Models/BillingSubscription.php b/app/Models/BillingSubscription.php index 7e3da4135bba..486e3134d607 100644 --- a/app/Models/BillingSubscription.php +++ b/app/Models/BillingSubscription.php @@ -41,6 +41,7 @@ class BillingSubscription extends BaseModel 'plan_map', 'refund_period', 'webhook_configuration', + 'currency_id', ]; protected $casts = [ diff --git a/database/migrations/2021_03_09_132242_add_currency_id_to_billing_subscriptions_table.php b/database/migrations/2021_03_09_132242_add_currency_id_to_billing_subscriptions_table.php new file mode 100644 index 000000000000..bc687317a449 --- /dev/null +++ b/database/migrations/2021_03_09_132242_add_currency_id_to_billing_subscriptions_table.php @@ -0,0 +1,29 @@ +unsignedInteger('currency_id')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + } +}