Strip foreign keys from version tables and don't use soft deletion everywhere.