code: func (engine *Engine) CreateTables(beans ...interface{}) error {
  	session := engine.NewSession()
  	defer session.Close()
  
  	err := session.Begin()
  	if err != nil {
  		return err
  	}
  
  	for _, bean := range beans {
  		err = session.createTable(bean)
  		if err != nil {
  			session.Rollback()
  			return err
  		}
  	}
  	return session.Commit()
  }
docs: // CreateTables create tabls according bean