github.com/unionj-cloud/go-doudou/v2@v2.3.5/toolkit/dbvendor/mysql/columnenum.go (about)

     1  package mysql
     2  
     3  const (
     4  	// BitType bit
     5  	BitType = "BIT"
     6  	// TextType text
     7  	TextType = "TEXT"
     8  	// BlobType blob
     9  	BlobType = "BLOB"
    10  	// DateType date
    11  	DateType = "DATE"
    12  	// DatetimeType datatime
    13  	DatetimeType = "DATETIME"
    14  	// DecimalType decimal
    15  	DecimalType = "DECIMAL"
    16  	// DoubleType double
    17  	DoubleType = "DOUBLE"
    18  	// EnumType enum
    19  	EnumType = "ENUM"
    20  	// FloatType float
    21  	FloatType = "FLOAT"
    22  	// GeometryType geometry
    23  	GeometryType = "GEOMETRY"
    24  	// MediumintType medium int
    25  	MediumintType = "MEDIUMINT"
    26  	// JSONType json
    27  	JSONType = "JSON"
    28  	// IntType int
    29  	IntType = "INT"
    30  	// LongtextType long text
    31  	LongtextType = "LONGTEXT"
    32  	// LongblobType long blob
    33  	LongblobType = "LONGBLOB"
    34  	// BigintType big int
    35  	BigintType = "BIGINT"
    36  	// MediumtextType medium text
    37  	MediumtextType = "MEDIUMTEXT"
    38  	// MediumblobType medium blob
    39  	MediumblobType = "MEDIUMBLOB"
    40  	// SmallintType small int
    41  	SmallintType = "SMALLINT"
    42  	// TinyintType tiny int
    43  	TinyintType = "TINYINT"
    44  	// VarcharType varchar
    45  	VarcharType = "VARCHAR(255)"
    46  )