github.com/scraniel/migrate@v0.0.0-20230320185700-339088f36cee/database/redshift/README.md (about)

     1  # Redshift
     2  
     3  `redshift://user:password@host:port/dbname?query`
     4  
     5  | URL Query  | WithInstance Config | Description |
     6  |------------|---------------------|-------------|
     7  | `x-migrations-table` | `MigrationsTable` | Name of the migrations table |
     8  | `dbname` | `DatabaseName` | The name of the database to connect to |
     9  | `search_path` | | This variable specifies the order in which schemas are searched when an object is referenced by a simple name with no schema specified. |
    10  | `user` | | The user to sign in as |
    11  | `password` | | The user's password | 
    12  | `host` | | The host to connect to. Values that start with / are for unix domain sockets. (default is localhost) |
    13  | `port` | | The port to bind to. (default is 5439) |
    14  | `fallback_application_name` | | An application_name to fall back to if one isn't provided. |
    15  | `connect_timeout` | | Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely. |
    16  | `sslcert` | | Cert file location. The file must contain PEM encoded data. |
    17  | `sslkey` | | Key file location. The file must contain PEM encoded data. |
    18  | `sslrootcert` | | The location of the root certificate file. The file must contain PEM encoded data. | 
    19  | `sslmode` | | Whether or not to use SSL (disable\|require\|verify-ca\|verify-full) |
    20  
    21  Redshift is PostgreSQL compatible but has some specific features (or lack thereof) that require slightly different behavior.