Skip to content

Commit a603bfe

Browse files
committed
Revert "Drop old TaskRunCounter table (not used anymore)"
This reverts commit d7311a3.
1 parent d7311a3 commit a603bfe

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

packages/database/prisma/migrations/20240523082748_drop_old_task_run_counter_table/migration.sql

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/database/prisma/schema.prisma

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,6 +1731,12 @@ model TaskRunDependency {
17311731
updatedAt DateTime @updatedAt
17321732
}
17331733

1734+
/// deprecated, we hadn't included the project id in the unique constraint
1735+
model TaskRunCounter {
1736+
taskIdentifier String @id
1737+
lastNumber Int @default(0)
1738+
}
1739+
17341740
/// Used for the TaskRun number (e.g. #1,421)
17351741
model TaskRunNumberCounter {
17361742
id String @id @default(cuid())

0 commit comments

Comments
 (0)