Migrate won't resolve a generated TableName
See original GitHub issueIssue Description
When providing raw CloudFormation code in the resources
section of serverless.yml
, you are able to leave out the TableName
and have it default to the arn that serverless will assign it based on the format outlined here.
This is a great approach to defining table names so that your multiple stages will have their own tables, etc. Though, when trying to run sls dynamodb migrate
it tells me that a missing TableName
param is required.
Is this an error? Or is this a feature that needs to be added?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:10
- Comments:5
Top Results From Across the Web
Migrate won't resolve a generated TableName #107 - GitHub
This is a great approach to defining table names so that your multiple stages will have their own tables, etc. Though, when trying...
Read more >Django migrate : doesn't create tables - Stack Overflow
Else; navigate to your database and delete all migrations for that app, you may have to drop the related tables too.
Read more >Troubleshooting Migration Manager - Microsoft 365
This article describes how to resolve issues and errors you may experience when using Migration Manager for file share migration.
Read more >Migration troubleshooting in development - Prisma
This guide describes how to resolve issues with Prisma Migrate in a development environment, which often involves resetting your database.
Read more >Fixing ALTER TABLE errors with Flask-Migrate and SQLite
The only way to do this is to generate a brand new table with the new schema and copy all the data. Alembic...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
FWIW, I did this. I asked about it on gitter before submitting a PR, but haven’t heard anything yet.
https://github.com/kevinsperrine/serverless-dynamodb-local/commit/9438c4d92557b9f35766bf37a2e2a7d8798d4b61
Come on maintainers!! Please accept this above PR.