Skip to content

Commit

Permalink
DEV: change hidden table default to true
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael O'Brien committed Feb 11, 2021
1 parent 5961408 commit d76596b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ The Table constructor takes a parameter of type `object` with the following prop
| createdField | `string` | Name of the "created" timestamp attribute |
| delimiter | `string` | Composite sort key delimiter (default ':') |
| logger | `object` | Logging function(tag, message, properties). Tag is data.info|error|trace|exception. |
| hidden | `boolean` | Hide key attributes in Javascript properties. Default false. |
| hidden | `boolean` | Hide key attributes in Javascript properties. Default true. |
| name | `string` | yes | The name of your DynamoDB table |
| nulls | `boolean` | Store nulls in database attributes. Default false. |
| schema | `string` | Definition of your DynamoDB indexes and models |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dynamodb-onetable",
"version": "0.6.9",
"version": "0.6.10",
"description": "DynamoDB OneTable",
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default class Table {
this.name = name
this.timestamps = timestamps || true
this.uuid = uuid || this.uuid
this.hidden = hidden || false
this.hidden = hidden || true

// Schema models
this.models = {}
Expand Down

0 comments on commit d76596b

Please sign in to comment.