Rewrite database specs.