Documentation ¶
Index ¶
Constants ¶
View Source
const AFTER_DDL_FILE_SUFFIX = "11"
View Source
const AUDIT_IDENTIFY_LENGTH = 58
View Source
const DDL_FILE_SUFFIX = "10"
View Source
const SHT_INDEX = "一覧"
View Source
const SHT_TEMPLATE = "テンプレート"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constraint ¶
type Constraint struct { PraimaryKey []string `yaml:"primary_key"` Uniques []Fields `yaml:"uniques"` ForeignKeys []ForeignKey `yaml:"foreign_keys"` }
type Elements ¶
type Elements struct { EArray []Element // contains filtered or unexported fields }
func NewElements ¶
type ForeignField ¶
type ForeignKey ¶
type ForeignKey struct { Name string `yaml:"name"` RefTable string `yaml:"reference_table"` DeleteOption *string `yaml:"delete_option"` UpdateOption *string `yaml:"update_option"` Fields []ForeignField `yaml:"fields"` }
type Index ¶ added in v3.2.0
type Index struct { Name string `yaml:"name"` Unique bool `yaml:"unique"` Fields []IndexField `yaml:"fields"` }
type IndexField ¶ added in v3.2.0
type SaveData ¶
type SaveData struct { DataType string `yaml:"data_type"` Version string `yaml:"version"` CreateAt time.Time `yaml:"create_at"` Schema Schema `yaml:"schema"` Tables []Table `yaml:"tables"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.