README.md in bigquery_migration-0.3.0 vs README.md in bigquery_migration-0.3.1
- old
+ new
@@ -1,9 +1,13 @@
# BigqueryMigration
BigqueryMigraiton is a tool or a ruby library to migrate (or alter) BigQuery table schema.
+## Requirements
+
+* Ruby >= 2.3.0
+
## Installation
Add this line to your application's Gemfile:
```ruby
@@ -29,10 +33,12 @@
```yaml
bigquery: &bigquery
json_keyfile: your-project-000.json
dataset: your_dataset_name
table: your_table_name
+ # If your data is in a location other than the US or EU multi-region, you must specify the location
+ # location: asia-northeast1
actions:
- action: create_dataset
<<: *bigquery
- action: migrate_table
@@ -57,12 +63,15 @@
```ruby
require 'bigquery_migration'
config = {
- json_keyfile: '/path/to/your-project-000.json'
- dataset: 'your_dataset_name'
- table: 'your_table_name'
+ json_keyfile: '/path/to/your-project-000.json',
+ dataset: 'your_dataset_name',
+ table: 'your_table_name',
+
+ # If your data is in a location other than the US or EU multi-region, you must specify the location
+ # location: asia-northeast1,
}
columns = [
{ name: 'string', type: 'STRING' },
{ name: 'record', type: 'RECORD', fields: [
{ name: 'integer', type: 'INTEGER' },