#787: data_creator.py, change 'KEY' -> 'FOREIGN KEY'