Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamoDB table name is always converted to lowercase #1

Closed
christophgysin opened this issue Jun 6, 2019 · 0 comments · Fixed by #2
Closed

DynamoDB table name is always converted to lowercase #1

christophgysin opened this issue Jun 6, 2019 · 0 comments · Fixed by #2

Comments

@christophgysin
Copy link
Contributor

When specifying a DynamoDB table name, it is converted to lowercase. This makes it impossible to refer to a table with a captial letter in the name.

UmzugCli({
  storage: 'umzug-dynamodb-storage',
  storageOptions: {
    dynamodb: new AWS.DynamoDB('2012-08-10'),
    table: 'Migrations',
  },

This will create a new table migrations instead of using an existing table Migrations.

This is the same issue as described in clarkie/dynogels#125. If no explicit table name is provided, dynogels uses the first argument converted to lower case as the table name.

christophgysin added a commit to christophgysin/node-umzug-dynamodb-storage that referenced this issue Jun 6, 2019
@Floby Floby closed this as completed in #2 Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant