removed unused migration sample file
This commit is contained in:
parent
7ce1e55ac3
commit
0e83e76ef4
3 changed files with 10 additions and 20 deletions
|
@ -7,7 +7,16 @@ const (
|
||||||
// Git stores the configuration details for
|
// Git stores the configuration details for
|
||||||
// executing Git commands.
|
// executing Git commands.
|
||||||
type Git struct {
|
type Git struct {
|
||||||
|
// Depth options instructs git to create a shallow
|
||||||
|
// clone with a history truncated to the specified
|
||||||
|
// number of revisions.
|
||||||
Depth *int `yaml:"depth,omitempty"`
|
Depth *int `yaml:"depth,omitempty"`
|
||||||
|
|
||||||
|
// The name of a directory to clone into.
|
||||||
|
// TODO this still needs to be implemented. this field is
|
||||||
|
// critical for forked Go projects, that need to clone
|
||||||
|
// to a specific repository.
|
||||||
|
Path string `yaml:"path,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// GitDepth returns GitDefaultDepth
|
// GitDepth returns GitDefaultDepth
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
package migrate
|
|
||||||
|
|
||||||
import (
|
|
||||||
"database/sql"
|
|
||||||
)
|
|
||||||
|
|
||||||
type Change_20150209 struct{}
|
|
||||||
|
|
||||||
func (Change_20150209) Up(tx *sql.Tx) error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (Change_20150209) Down(tx *sql.Tx) error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (Change_20150209) Revision() int64 {
|
|
||||||
return 20150209
|
|
||||||
}
|
|
|
@ -51,7 +51,7 @@ CREATE TABLE repos (
|
||||||
,private BOOLEAN
|
,private BOOLEAN
|
||||||
,disabled BOOLEAN
|
,disabled BOOLEAN
|
||||||
,disabled_pr BOOLEAN
|
,disabled_pr BOOLEAN
|
||||||
,priveleged BOOLEAN
|
,privileged BOOLEAN
|
||||||
,timeout INTEGER
|
,timeout INTEGER
|
||||||
|
|
||||||
,scm VARCHAR(25)
|
,scm VARCHAR(25)
|
||||||
|
|
Loading…
Reference in a new issue