Integration table triggers

Fix #1645