{{Extend "db/index"}} {{Block "title"}}{{if eq (Form "operation") "modifyTable"}}{{"修改表"|T}}: {{Stored.table}}{{else}}{{"创建表"|T}}{{end}} - {{Super}}{{/Block}} {{Block "breadcrumb"}} {{Super}}
  • {{Stored.dbName}}
  • {{if eq (Form "operation") "modifyTable"}}{{"修改表"|T}}: {{Stored.table}}{{else}}{{"创建表"|T}}{{end}}
  • {{/Block}} {{Block "main"}}
    {{Include "db/mysql/results"}}

    {{if eq (Form "operation") "modifyTable"}}{{"修改表"|T}}: {{Stored.table}}{{else}}{{"创建表"|T}}{{end}}

    {{$collation := Form "collation"}}
    {{- range $index, $field := Stored.postFields -}} {{end}}
    {{"字段名"|T}} {{"类型"|T}} {{"长度"|T}} {{"选项"|T}} {{"NULL"|T}} AI {{"默认值"|T}} {{"注释"|T}}
    {{if Stored.supportPartitioning}} {{$partitionTable := or (Contains Stored.partition.Method.String "RANGE") (Contains Stored.partition.Method.String "LIST")}}
    {{"分区设置"|T}}
    {{range $k,$v := Stored.partition.Names}} {{end}}
    {{end}}
    {{"返回"|T}}
    {{/Block}} {{Block "footer"}} {{Super}} {{/Block}}