use ALTER TABLE ADD table_constraint :https://www.postgresql.org/docs/9.5/static/sql-altertable.html to add the FK references to word_games.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных