We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HI
I have successfully deployed the lambda function for my app but whenever I try to run the command sls migrate up it outputs the following error:
sls migrate up
Serverless: Migrations - DATABASE_URL environment variable required
I have added up and down function in serverless.yml
up
down
up: handler: migrations.up timeout: 30 environment: DATABASE_URL: postgres://{user}:{pass}@{rds_url}:5432/{db_name} down: handler: migrations.down timeout: 30 environment: DATABASE_URL: postgres://{user}:{pass}@{rds_url}:5432/{db_name}
Please let me know what I have miss/there's an issue and will it support Postgres version 10 or above.
The text was updated successfully, but these errors were encountered:
@sethigoldy Did you have any luck solving this ?
Sorry, something went wrong.
No branches or pull requests
HI
I have successfully deployed the lambda function for my app but whenever I try to run the command
sls migrate up
it outputs the following error:I have added
up
anddown
function in serverless.ymlPlease let me know what I have miss/there's an issue and will it support Postgres version 10 or above.
The text was updated successfully, but these errors were encountered: