pilosus / dienstplan

Slack bot app for duty rotations
https://dienstplan-slack.pilosus.org
Other
21 stars 2 forks source link

can't not create rotation[BUG] #62

Closed qileilove closed 2 years ago

qileilove commented 2 years ago

Describe the bug when i use command to create the rotation, always show error like below

image

and back services show error log like below:

dienstplan_1  | org.postgresql.util.PSQLException
dienstplan_1  |  ERROR: relation "rota" does not exist
dienstplan_1  |   Position: 60
dienstplan_1  |
dienstplan_1  | 2022-08-03 14:14:39,623 [qtp1585101559-18] DEBUG org.eclipse.jetty.server.HttpOutput - write(array HeapByteBuffer@5c31498f[p=0,l=26,c=8192,r=26]={<<<{"error":"Internal error"}>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00})

To Reproduce Steps to reproduce the behavior:

  1. i use docker-compose to start the services, and follow by the the repo readme to config the slack app.

Expected behavior create the rotation success. Screenshots If applicable, add screenshots to help explain your problem.

qileilove commented 2 years ago

need to do the migrate, use make all command, then it works. ok, so close this issue.