added table creation constraints