Able to get database with foreign keys working.  Need to download latest corona version so sqlite is updated to support FKs.