github.com/golang-migrate/migrate/v4/database/postgres.Config.MigrationsTable (field)
8 uses
github.com/golang-migrate/migrate/v4/database/postgres (current package)
postgres.go#L37: MigrationsTable string
postgres.go#L85: if len(config.MigrationsTable) == 0 {
postgres.go#L86: config.MigrationsTable = DefaultMigrationsTable
postgres.go#L123: MigrationsTable: migrationsTable,
postgres.go#L256: query := `TRUNCATE ` + pq.QuoteIdentifier(p.config.MigrationsTable)
postgres.go#L265: query = `INSERT INTO ` + pq.QuoteIdentifier(p.config.MigrationsTable) + ` (version, dirty) VALUES ($1, $2)`
postgres.go#L282: query := `SELECT version, dirty FROM ` + pq.QuoteIdentifier(p.config.MigrationsTable) + ` LIMIT 1`
postgres.go#L357: query := `CREATE TABLE IF NOT EXISTS ` + pq.QuoteIdentifier(p.config.MigrationsTable) + ` (version bigint not null primary key, dirty boolean not null)`
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |