use schedule text max text in table script
use max lengths in api_keys script