question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrate won't resolve a generated TableName

See original GitHub issue

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:open
  • Created 6 years ago
  • Reactions:10
  • Comments:5

github_iconTop GitHub Comments

2reactions
kevinsperrinecommented, Aug 5, 2018

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

0reactions
nakshathrucommented, May 16, 2020

Come on maintainers!! Please accept this above PR.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found