sourcefuse / loopback4-starter

Loopback 4 starter application. Multi-tenant architecture supported. Authentication, Authorization, Soft deletes, environment vars, Audit logs, included.
MIT License
158 stars 59 forks source link

DB migration scripts are outdated #123

Closed lauksas closed 1 year ago

lauksas commented 1 year ago

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