Versions in this module Expand all Collapse all v0 v0.5.1 Jan 16, 2020 Changes in this version + const Add + const DbTestDir + const Delimiter + const Retain + const SQLExtension + func CompareContent(t *testing.T, goldenFile, output string) + func CompareSQL(t *testing.T, expected map[string]string, actual []ScriptOutput) + func CreateTableDepthMap(tableMap map[string]*sysl.Type) map[int][]string + func GenerateFromSQLMap(m []ScriptOutput, fs afero.Fs, logger *logrus.Logger) error + type ScriptOutput struct + func MakeScriptOutput(filename, content string) *ScriptOutput + type ScriptView struct + func MakeDatabaseScriptView(title string, logger *logrus.Logger) *ScriptView + func (v *ScriptView) GenerateDatabaseScriptCreate(tableMap map[string]*sysl.Type, dbType, appName string) string + func (v *ScriptView) ProcessModSysls(appsOld, appsNew map[string]*sysl.Application, appNames []string, ...) []ScriptOutput + type TableDetails struct + func MakeTableDetails(table, tableOld *sysl.Type, action, name string) *TableDetails