Add constraints (FK) to all tables
Merge branch 'constraints' into next

Merge sql table constraints