github.com/golang-migrate/migrate/v4/database/postgres.Postgres.config (field)
10 uses
github.com/golang-migrate/migrate/v4/database/postgres (current package)
postgres.go#L49: config *Config
postgres.go#L98: config: config,
postgres.go#L148: aid, err := database.GenerateAdvisoryLockId(p.config.DatabaseName, p.config.SchemaName)
postgres.go#L169: aid, err := database.GenerateAdvisoryLockId(p.config.DatabaseName, p.config.SchemaName)
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. |