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
/
source
/
migration.go
Search
History
205 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Direction
Down
:
Direction
Up
:
Direction
MetaDown
:
Direction
MetaUp
:
Direction
Migration
Version
:
uint64
Identifier
:
string
Direction
:
Direction
Raw
:
string
IsDir
:
bool
Migrations
Index
:
uint64Slice
Migrations
:
map[uint64]map[Direction]*Migration
NewMigrations
()
:
*Migrations
uint64Slice
Len
()
:
int
Swap
(i, j int)
Less
(i, j int)
:
bool
Search
(x uint64)
:
int
*Migrations
Append
(m *Migration)
:
(err error)
buildIndex
()
First
()
:
(version uint64, ok bool)
GetLocalVersion
()
:
uint64
GetUnappliedMigrations
(version uint64)
:
(versions []uint64)
Prev
(version uint64)
:
(prevVersion uint64, ok bool)
Next
(version uint64)
:
(nextVersion uint64, ok bool)
GetDirections
(version uint64)
:
map[Direction]bool
Up
(version uint64)
:
(m *Migration, ok bool)
MetaUp
(version uint64)
:
(m *Migration, ok bool)
Down
(version uint64)
:
(m *Migration, ok bool)
MetaDown
(version uint64)
:
(m *Migration, ok bool)
ReadName
(version uint64)
:
(name string)
findPos
(version uint64)
:
int
All occurrences
Please wait...
Page is in error, reload to recover