s: issue #12 - foreign keys support added to database