mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-25 01:40:30 +00:00
12 lines
258 B
Go
12 lines
258 B
Go
|
package model
|
||
|
|
||
|
type Redirection struct {
|
||
|
ID int64 `xorm:"pk autoincr 'redirection_id'"`
|
||
|
RepoID int64 `xorm:"'repo_id'"`
|
||
|
FullName string `xorm:"UNIQUE INDEX 'repo_full_name'"`
|
||
|
}
|
||
|
|
||
|
func (r Redirection) TableName() string {
|
||
|
return "redirections"
|
||
|
}
|