crash.software
Projects
Pull Requests
Issues
Builds
graphql-engine
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
graphql-engine
Files
🤬
Sign In
release/v2.11
ROOT
/
cli
/
migrate
/
cmd
/
commands.go
Search
History
194 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
CreateOptions
Version
:
string
Directory
:
string
Name
:
string
SQLUp
:
[]byte
SQLDown
:
[]byte
New
(version int64, name, directory string)
:
*CreateOptions
createFile
(fname string, data []byte)
:
error
deleteFile
(fname string)
:
error
GotoCmd
(m *migrate.Migrate, v uint64, direction string)
:
error
UpCmd
(m *migrate.Migrate, limit int64)
:
error
DownCmd
(m *migrate.Migrate, limit int64)
:
error
SquashCmd
(m *migrate.Migrate, from uint64, to int64, version int64, name, directory string)
:
(versions []int64, err error)
GotoVersionCmd
(m *migrate.Migrate, gotoVersion int64)
:
error
*CreateOptions
SetSQLUp
(data string)
:
error
SetSQLUpFromFile
(filePath string)
:
error
SetSQLDown
(data string)
:
error
Create
()
:
error
Delete
()
:
error
MoveToDir
(destDir string)
:
error
All occurrences
Please wait...
Page is in error, reload to recover