Initial DB implementation of subscriptions