path to database fixed in railtie