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

DB migration scripts are outdated #123

Closed
lauksas opened this issue May 27, 2023 · 0 comments
Closed

DB migration scripts are outdated #123

lauksas opened this issue May 27, 2023 · 0 comments

Comments

@lauksas
Copy link
Contributor

lauksas commented May 27, 2023

Describe the bug
When I run npm run db:migrate the script runs successfully, but it lacks the attributes from SoftDeleteEntity: deleted_on and deleted_by. This makes the application not to work.

To Reproduce
Steps to reproduce the behavior:

  1. Run npm install
  2. Run npm run db:migrate
  3. run npm start
  4. Send request to /auth/login

Expected behavior
Response should be returned.

Screenshots
ERROR: column "deleted_on" does not exist at character 18 is shown in database log

Additional context

lauksas pushed a commit to lauksas/loopback4-starter that referenced this issue May 27, 2023
lauksas pushed a commit to lauksas/loopback4-starter that referenced this issue May 27, 2023
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