Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseColumn ¶
type BaseColumn struct { CreatedAt time.Time `gorm:"column:created_at"` UpdatedAt time.Time `gorm:"column:updated_at"` DeletedAt *time.Time `gorm:"column:deleted_at"` }
gorm.Model definition
type DatabaseInfomation ¶
type DatabaseInfomation struct { BaseColumn DatabaseName string `gorm:"column:database_name"` LocalPeerId string `gorm:"column:local_peer_id"` GlobalClockTime int64 `gorm:"column:global_clock_time"` }
Database information_schema definition
type TableInfomation ¶
type TableInfomation struct { BaseColumn TableName string `gorm:"column:table_name"` ClockTime int64 `gorm:"column:peer_id"` Version int64 `gorm:"column:version"` Schema string `gorm:"column:schema"` // Create the sql statement of the table }
Table information_schema definition
Click to show internal directories.
Click to hide internal directories.