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

Create tables? #296

Open
jmagnuss opened this issue Apr 21, 2020 · 0 comments
Open

Create tables? #296

jmagnuss opened this issue Apr 21, 2020 · 0 comments

Comments

@jmagnuss
Copy link

After annotating a model, I would love to be able to stand up a table with simple createTable and ensureTableExists functions like the abandoned DynamoDB Data Mapper:
https://github.com/awslabs/dynamodb-data-mapper-js#table-lifecycle-operations

It seems the alternative when using this (wonderful, thank you) project is to manually maintain table schemas in CFN or code:
https://github.com/shiftcode/dynamo-easy-demo/blob/master/infrastructure.yml#L132
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GettingStarted.NodeJs.01.html

Any other suggestions?
Do you use migrations on your Dynamo tables? Do you prefer to include a subset of your model properties in the definition so they don't change as often?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants