// NewOperation creates a new Operation instance.
NewOperation creates a new Operation instance.
// NewOperation creates a new Operation instance .
func NewOperation(id, task, source, upSchema, upTable string,
	ddls []string, conflictStage ConflictStage, conflictMsg string, done bool, cols []string) Operation {
	return Operation{
		ID:            id,
		Task:          task,
		Source:        source,
		UpSchema:      upSchema,
		UpTable:       upTable,
		DDLs:          ddls,
		ConflictStage: conflictStage,
		ConflictMsg:   conflictMsg,
		Done:          done,
		Cols:          cols,
	}
}
func NewOperation ( id , task , source , upSchema , upTable string , ddls [ ] string , conflictStage ConflictStage , conflictMsg string , done bool , cols [ ] string ) Operation { return Operation { ID : id , Task : task , Source : source , UpSchema : upSchema , UpTable : upTable , DDLs : ddls , ConflictStage : conflictStage , ConflictMsg : conflictMsg , Done : done , Cols : cols , } }
NewOperation creates a new Operation instance.
NewOperation creates a new Operation instance .