fix migrations: add constrains
add views for participants