updated schema fixing unique bugs
checkpoint. triggers added