Skip to content

Commit

Permalink
add: create_table_constraint option usage in README
Browse files Browse the repository at this point in the history
  • Loading branch information
kieaiaarh committed Apr 7, 2020
1 parent 435baf5 commit fb398c1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions embulk-output-mysql/README.md
Expand Up @@ -119,6 +119,17 @@ out:
my_col_5: {type: 'DECIMAL(18,9)', value_type: pass}
```

You can add a primary key, index, unique key..etc with `create_table_constraint`, `column options`

```yaml
out:
type: mysql
# snip
create_table_constraint: 'primary key(id)'
column_options:
id: {type: 'int auto_increment'}
```

### Build

```
Expand Down

0 comments on commit fb398c1

Please sign in to comment.