Make pads persistent by storing them in a database.