Use current_app, not manager.app, for creating tables.