func (e *Executor) Write(w io.Writer, spec *Spec) error {
	_, err := e.write(w, spec)
	return err
}
Write writes the generated schema sqlmodels to a writer
package sqlmodel
import (
	"bytes"
	"fmt"
	"io"
	"io/ioutil"
	"os"
	"path/filepath"
	"sort"
)
type Executor struct {
	Generator Generator
	Provider SchemaProvider
}