add "drop_constraints", fix data type and generation.