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.36
ROOT
/
cli
/
commands
/
migrate_apply.go
Search
History
359 lines
|
ISO-8859-1
|
11 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
newMigrateApplyCmd
(ec *cli.ExecutionContext)
:
*cobra.Command
MigrateApplyOptions
EC
:
*cli.ExecutionContext
UpMigration
:
string
DownMigration
:
string
VersionMigration
:
string
MigrationType
:
string
GotoVersion
:
string
SkipExecution
:
bool
DryRun
:
bool
Source
:
cli.Source
ProgressBarLogs
:
bool
errDatabaseMigrationDirectoryNotFound
message
:
string
MigrateApplyResult
DatabaseName
:
string
Message
:
string
Error
:
error
getMigrationTypeAndStep
(upMigration, downMigration, versionMigration, migrationType, gotoVersion string, skipExecution bool)
:
(string, int64, error)
*MigrateApplyOptions
Validate
()
:
error
Run
()
:
error
Apply
()
:
(chan MigrateApplyResult, error)
Exec
()
:
error
*errDatabaseMigrationDirectoryNotFound
Error
()
:
string
All occurrences
Please wait...
Page is in error, reload to recover