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

Can I upgrade schemas? #283

Open
theMistletoe opened this issue Aug 5, 2022 · 0 comments
Open

Can I upgrade schemas? #283

theMistletoe opened this issue Aug 5, 2022 · 0 comments

Comments

@theMistletoe
Copy link

theMistletoe commented Aug 5, 2022

Expected Behaviour

I’ve wrote schema setting on serverless.yml, and I’ve created one table by running migrate command.
After that, I wanna update schema about add GSI on that table, so I added settings about GSI on serverless.yml, and executed migrate command.

Actual Behaviour

But, not expected, table’s schema remains same state.

I can see below logs.

DynamoDB - Warn - table [tablename] already exists

Can I upgrade schemas, not deleting exsiting table, like sls deploy?

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

No branches or pull requests

1 participant