Completed SQL implementation of ISubscriptionStorage