dynamo-easy icon indicating copy to clipboard operation
dynamo-easy copied to clipboard

Create tables?

Open jmagnuss opened this issue 5 years ago • 0 comments

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!

jmagnuss avatar Apr 21 '20 02:04 jmagnuss