Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultChangeLogTableName = "dbschema_changelog" DefaultChangeLogLockTableName = "dbschema_changelog_lock" )
View Source
const ( ColumnChangeSetId = "changeset_id" ColumnChangeSetName = "changeset_name" ColumnChangeSetAuthor = "changeset_author" ColumnExecutedAt = "executed_at" ColumnUpdatedAt = "updated_at" ColumnOrderExecuted = "order_executed" ColumnSha256Sum = "sha256_sum" ColumnTags = "tags" ColumnVersion = "dbschema_version" )
Constants for change log column names.
View Source
const ( ColumnLockId = "lock_id" ColumnIsLocked = "is_locked" ColumnLockedAt = "locked_at" ColumnLockedBy = "locked_by" )
Constants for change log lock column names.
View Source
const DefaultLockId = "LOCK"
View Source
const DefaultTimeFormat = time.RFC1123Z
View Source
const Version = "v0.0.0-alpha"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppliedChangeSet ¶
type AppliedChangeSet struct { Id string Name *string Author *string ExecutedAt time.Time UpdatedAt time.Time OrderExecuted int Sha256Sum string Tags []string Version string }
func (*AppliedChangeSet) String ¶
func (acs *AppliedChangeSet) String() string
func (*AppliedChangeSet) StringVerbose ¶
func (acs *AppliedChangeSet) StringVerbose() string
type ParsingTagsError ¶
func (*ParsingTagsError) Error ¶
func (e *ParsingTagsError) Error() string
type QueryExecer ¶
type Tx ¶
type Tx interface { QueryExecer Rollback() error Commit() error }
type UnsupportedDialectError ¶
type UnsupportedDialectError string
func (UnsupportedDialectError) Error ¶
func (e UnsupportedDialectError) Error() string
Click to show internal directories.
Click to hide internal directories.