Work on saving and restoring table schema to/from database.