Added a constraint in tables.py