https://serverless-stack.com/ logo
#help
Title
# help
s

Sebastian Kline

03/23/2022, 1:48 AM
Any tips on how manage schema changes to dynamodb using SST?
f

Frank

03/23/2022, 2:02 AM
Hey @Sebastian Kline, by “manage schema changes” do you mean adding/removing global indexes? Or schema changes in the scope of single table design?
s

Sebastian Kline

03/23/2022, 2:02 AM
Mostly schema changes in the scope of a single table design.
f

Frank

03/23/2022, 2:03 AM
Ah i c. SST doesn’t haven’t anything out of the box for that.
s

Sebastian Kline

03/23/2022, 2:03 AM
No worries! Thanks for quick replies btw!
f

Frank

03/23/2022, 2:03 AM
I recall someone shared a library and said it does a good job at this. Lemme try to dig it up.
Here are a couple of libraries that always pop up the community, not sure which one has better schema change support. Maybe worth checking them out https://serverless-stack.slack.com/archives/C01JG3B20RY/p1645730939106099
s

Sebastian Kline

03/23/2022, 2:13 AM
Oh thank you! I’ll give that aread.
2 Views