Fixed base SQL to be revision 20 and give CURRENT_TIMESTAMP as the default for caches.