Existing tables no longer bother migrations

And also, updated the database API. There's no elegant way to open
connections, and then to close them, unfortunately. At least so far.