This commit is contained in:
jdl
2026-06-25 13:21:19 +02:00
parent 9f4c86f39f
commit ad59b98aef
4 changed files with 34 additions and 29 deletions

View File

@@ -52,9 +52,10 @@ func parseTable(driver string, schema *schema, tokens []string) ([]string, error
}
table := &table{
driver: driver,
Name: tokens[0],
Type: tokens[2],
driver: driver,
Name: tokens[0],
Type: tokens[2],
LowerType: strings.ToLower(tokens[2][:1]) + tokens[2][1:],
}
schema.Tables = append(schema.Tables, table)