You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
Dbmate is a database migration tool that will keep your database schema in sync across multiple developers and your production servers.
8
8
9
-
It is a standalone command line tool that can be used with Go, Node.js, Python, Ruby, PHP, or any other language or framework you are using to write database-backed applications. This is especially helpful if you are writing multiple services in different languages, and want to maintain some sanity with consistent development tools.
9
+
It is a standalone command line tool that can be used with Go, Node.js, Python, Ruby, PHP, Rust, C++, or any other language or framework you are using to write database-backed applications. This is especially helpful if you are writing multiple services in different languages, and want to maintain some sanity with consistent development tools.
10
10
11
11
For a comparison between dbmate and other popular database schema migration tools, please see [Alternatives](#alternatives).
12
12
@@ -23,6 +23,7 @@ For a comparison between dbmate and other popular database schema migration tool
23
23
-[SQLite](#sqlite)
24
24
-[ClickHouse](#clickhouse)
25
25
-[BigQuery](#bigquery)
26
+
-[Spanner](#spanner)
26
27
-[Creating Migrations](#creating-migrations)
27
28
-[Running Migrations](#running-migrations)
28
29
-[Rolling Back Migrations](#rolling-back-migrations)
@@ -50,7 +51,7 @@ For a comparison between dbmate and other popular database schema migration tool
50
51
- Database connection URL is defined using an environment variable (`DATABASE_URL` by default), or specified on the command line
51
52
- Built-in support for reading environment variables from your `.env` file
52
53
- Easy to distribute, single self-contained binary
[See other supported connection options](https://github.com/ClickHouse/clickhouse-go#dsn).
292
293
293
294
#### BigQuery
295
+
294
296
Follow the following format for `DATABASE_URL` when connecting to actual BigQuery in GCP:
295
297
296
298
```
297
299
bigquery://projectid/location/dataset
298
300
```
301
+
299
302
`projectid` (mandatory) - Project ID
300
303
301
304
`dataset` (mandatory) - Dataset name within the Project
302
305
303
306
`location` (optional) - Where Dataset is created
304
307
305
-
*NOTE: Follow [this doc](https://cloud.google.com/docs/authentication/provide-credentials-adc) on how to set `GOOGLE_APPLICATION_CREDENTIALS` environment variable for proper Authentication*
308
+
_NOTE: Follow [this doc](https://cloud.google.com/docs/authentication/provide-credentials-adc) on how to set `GOOGLE_APPLICATION_CREDENTIALS` environment variable for proper Authentication_
306
309
307
310
Follow the following format if trying to connect to a custom endpoint e.g. [BigQuery Emulator](https://github.com/goccy/bigquery-emulator)
`disable_auth` (optional) - Pass `true` to skip Authentication, use only for testing and connecting to emulator.
314
317
315
-
#### Spanner (PostgreSQL Interface)
318
+
#### Spanner
316
319
317
320
Spanner support is currently limited to databases using the [PostgreSQL Dialect](https://cloud.google.com/spanner/docs/postgresql-interface), which must be chosen during database creation. For future Spanner with GoogleSQL support, see [this discussion](https://github.com/amacneil/dbmate/discussions/369).
0 commit comments