SQLSTATE[HY000]: General error: 1822 Failed to add the foreign key constraint. Missing index for constraint code example
Example: uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key
//Go to this link :)
//https://stackoverflow.com/questions/38308329/swift-setvalueforundefinedkey-this-class-is-not-key-value-coding-compliant-f