Support an additional boolean column to enable unique key enforcement

Provide support for handling a boolean column on tables with deleted_at so unique keys can be enforced (null values in a unique key do not allow enforcement of the unique key)