The subscription information is stored in the AM_SUBSCRIPTION table of the WSO2AM_DB database. We can change the subscription tiers manually through updating the corresponding db entry.
For example, if we want to change all ‘Unlimited’ tiers to ‘Gold’, then we can execute following command:
update AM_SUBSCRIPTION set TIER_ID = 'Gold' where TIER_ID = 'Unlimited';
update AM_SUBSCRIPTION set TIER_ID = 'Gold' where SUBSCRIPTION_ID=1 AND TIER_ID= "Unlimited";
No comments:
Post a Comment