1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-25 16:19:47 +02:00

fix: Use creation timestamp instead of id for ordering

Closes #465
This commit is contained in:
Maksim Eltyshev 2023-06-13 00:19:17 +02:00
parent 8578883fac
commit 21504c06a6
18 changed files with 219 additions and 301 deletions

View file

@ -12,6 +12,9 @@ export default class extends BaseModel {
coverUrl: attr(),
image: attr(),
name: attr(),
createdAt: attr({
getDefault: () => new Date(),
}),
cardId: fk({
to: 'Card',
as: 'card',