mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 08:23:48 +02: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"
|
||
|
}
|