revenue tables

link_if_can
fix rake db:clear and flush and push_settings