Added some mysql constricts
User constricts