add a simple SQL setup and upgrade mechanism