Skip to content

Commit d7311a3

Browse files
committed
Drop old TaskRunCounter table (not used anymore)
1 parent b974b53 commit d7311a3

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the `TaskRunCounter` table. If the table is not empty, all the data it contains will be lost.
5+
6+
*/
7+
-- DropTable
8+
DROP TABLE "TaskRunCounter";

packages/database/prisma/schema.prisma

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,12 +1731,6 @@ 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-
17401734
/// Used for the TaskRun number (e.g. #1,421)
17411735
model TaskRunNumberCounter {
17421736
id String @id @default(cuid())

0 commit comments

Comments
 (0)