Discover Packages
github.com/hasura/graphql-engine/cli/v2
migrate
api
package
Version:
v2.35.2
Opens a new window with list of versions in this module.
Published: Dec 11, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
DataAPIError = "Data Error: "
MigrationMode = "migration_mode"
)
type Request struct {
Name string `json:"name"`
Up []requestType `json:"up"`
Down []requestType `json:"down"`
SkipExecution bool `json:"skip_execution"`
SourceName string `json:"datasource,omitempty"`
}
type Response struct {
Code string `json:"code,omitempty"`
Message string `json:"message,omitempty"`
Name string `json:"name,omitempty"`
StatusCode int `json:"-"`
}
type SettingRequest struct {
Name string `json:"name"`
Value string `json:"value"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.