Documentation ¶
Index ¶
- Variables
- func AddAutoIncrement(tx migration.LimitedTx) error
- func AddBranchToScans(tx migration.LimitedTx) error
- func AddClonedToRepositories(tx migration.LimitedTx) error
- func AddCredentialCountToRepositories(tx migration.LimitedTx) error
- func AddCredentialsAndScansTable(tx migration.LimitedTx) error
- func AddFailedFetchesToRepositories(tx migration.LimitedTx) error
- func AddFailedMessages(tx migration.LimitedTx) error
- func AddFetchInterval(tx migration.LimitedTx) error
- func AddMatchLocation(tx migration.LimitedTx) error
- func AddPrivateToCredentials(tx migration.LimitedTx) error
- func AddRepositoriesAndFetches(tx migration.LimitedTx) error
- func AddStartSHAAndStopSHAToScans(tx migration.LimitedTx) error
- func ChangeCredentialCountToText(tx migration.LimitedTx) error
- func DropCommitTimestamp(tx migration.LimitedTx) error
- func DropDiffScans(tx migration.LimitedTx) error
- func InitialSchema(tx migration.LimitedTx) error
- func LockDBAndMigrate(logger lager.Logger, driver, dbURI string) (*gorm.DB, error)
- func RemoveFetchInterval(tx migration.LimitedTx) error
- func UpdateNullCredentialCounts(tx migration.LimitedTx) error
- func UpdateNullCredentialCountsAgain(tx migration.LimitedTx) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Migrations = []migration.Migrator{ InitialSchema, AddAutoIncrement, DropCommitTimestamp, AddCredentialsAndScansTable, AddRepositoriesAndFetches, AddClonedToRepositories, AddMatchLocation, AddFailedFetchesToRepositories, AddStartSHAAndStopSHAToScans, AddPrivateToCredentials, AddCredentialCountToRepositories, AddFailedMessages, AddFetchInterval, DropDiffScans, AddBranchToScans, ChangeCredentialCountToText, UpdateNullCredentialCounts, UpdateNullCredentialCountsAgain, RemoveFetchInterval, }
Functions ¶
func AddAutoIncrement ¶
func AddBranchToScans ¶
func AddClonedToRepositories ¶
func AddFailedMessages ¶
func AddFetchInterval ¶
func AddMatchLocation ¶
func AddPrivateToCredentials ¶
func DropCommitTimestamp ¶
func DropDiffScans ¶
func InitialSchema ¶
func LockDBAndMigrate ¶
func RemoveFetchInterval ¶
Types ¶
This section is empty.
Source Files ¶
- 01_initial_schema.go
- 02_add_auto_increment.go
- 03_drop_commit_timestamp.go
- 04_add_credentials_and_scans_table.go
- 05_add_repositories_and_fetches.go
- 06_add_cloned_to_repositories.go
- 07_add_match_location.go
- 08_add_failed_fetches_to_repositories.go
- 09_add_start_sha_and_stop_sha_to_scans.go
- 10_add_private_to_credentials.go
- 11_add_credential_count_to_repositories.go
- 12_add_failed_messages.go
- 13_add_fetch_interval.go
- 14_drop_diff_scans.go
- 15_add_branch_to_scans.go
- 16_change_credential_count_to_text.go
- 17_update_null_credential_counts.go
- 18_update_null_credential_counts_again.go
- 19_remove_fetch_interval.go
- lock_and_migrate.go
- migrations.go
Click to show internal directories.
Click to hide internal directories.