Documentation
¶
Index ¶
- func Migrate(x *xorm.Engine) error
- type Migration
- type TAccessToken
- type TAction
- type TAttachment
- type TComment
- type TDeployKey
- type TIssue
- type TLoginSource
- type TMilestone
- type TMirror
- type TNotice
- type TPublicKey
- type TPull
- type TRelease
- type TRepo
- type TUser
- type TWebhook
- type UserV14
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Migration ¶
Migration describes on migration from lower version to high version
type TAccessToken ¶
TAccessToken defines the struct for migrating table access_token
func (*TAccessToken) TableName ¶
func (t *TAccessToken) TableName() string
TableName will be invoked by XORM to customrize the table name
type TAction ¶
TAction defines the struct for migrating table action
type TAttachment ¶
TAttachment defines the struct for migrating table attachment
func (*TAttachment) TableName ¶
func (t *TAttachment) TableName() string
TableName will be invoked by XORM to customrize the table name
type TComment ¶
TComment defines the struct for migrating table comment
type TDeployKey ¶
TDeployKey defines the struct for migrating table deploy_key
func (*TDeployKey) TableName ¶
func (t *TDeployKey) TableName() string
TableName will be invoked by XORM to customrize the table name
type TIssue ¶
type TIssue struct { ID int64 `xorm:"pk autoincr"` DeadlineUnix int64 CreatedUnix int64 UpdatedUnix int64 }
TIssue defines the struct for migrating table issue
type TLoginSource ¶
TLoginSource defines the struct for migrating table login_source
func (*TLoginSource) TableName ¶
func (t *TLoginSource) TableName() string
TableName will be invoked by XORM to customrize the table name
type TMilestone ¶
TMilestone defines the struct for migrating table milestone
func (*TMilestone) TableName ¶
func (t *TMilestone) TableName() string
TableName will be invoked by XORM to customrize the table name
type TMirror ¶
TMirror defines the struct for migrating table mirror
type TNotice ¶
TNotice defines the struct for migrating table notice
type TPublicKey ¶
TPublicKey defines the struct for migrating table public_key
func (*TPublicKey) TableName ¶
func (t *TPublicKey) TableName() string
TableName will be invoked by XORM to customrize the table name
type TPull ¶
TPull defines the struct for migrating table pull_request
type TRelease ¶
TRelease defines the struct for migrating table release
type TRepo ¶
TRepo defines the struct for migrating table repository
type TUser ¶
TUser defines the struct for migrating table user
type TWebhook ¶
TWebhook defines the struct for migrating table webhook
Source Files
¶
- migrations.go
- v13.go
- v14.go