Moved to autogen SQL Table code