diff --git a/database/redshift2/README.md b/database/redshift2/README.md index f631239..52f9a56 100644 --- a/database/redshift2/README.md +++ b/database/redshift2/README.md @@ -1,6 +1,6 @@ -# postgres +# Redshift -`postgres://user:password@host:port/dbname?query` (`postgresql://` works, too) +`redshift://user:password@host:port/dbname?query` | URL Query | WithInstance Config | Description | |------------|---------------------|-------------| @@ -10,7 +10,7 @@ | `user` | | The user to sign in as | | `password` | | The user's password | | `host` | | The host to connect to. Values that start with / are for unix domain sockets. (default is localhost) | -| `port` | | The port to bind to. (default is 5432) | +| `port` | | The port to bind to. (default is 5439) | | `fallback_application_name` | | An application_name to fall back to if one isn't provided. | | `connect_timeout` | | Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely. | | `sslcert` | | Cert file location. The file must contain PEM encoded data. | @@ -18,11 +18,4 @@ | `sslrootcert` | | The location of the root certificate file. The file must contain PEM encoded data. | | `sslmode` | | Whether or not to use SSL (disable\|require\|verify-ca\|verify-full) | - -## Upgrading from v1 - -1. Write down the current migration version from schema_migrations -1. `DROP TABLE schema_migrations` -2. Wrap your existing migrations in transactions ([BEGIN/COMMIT](https://www.postgresql.org/docs/current/static/transaction-iso.html)) if you use multiple statements within one migration. -3. Download and install the latest migrate version. -4. Force the current migration version with `migrate force `. +Redshift is PostgreSQL compatible but has some specific features (or lack thereof) that require slightly different behavior.