autoincrement and unique constraint added