Added support for constraints under the 'extra' field for sql tables.