-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtesting
More file actions
101 lines (91 loc) · 2.29 KB
/
testing
File metadata and controls
101 lines (91 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
//// ------------------------------------------------------
//// THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
//// ------------------------------------------------------
Table Board {
id String [pk]
orgId String [not null]
title String [not null]
imageId String [not null]
imageThumbUrl String [not null]
imageFullUrl String [not null]
imageUserName String [not null]
imageLinkHtml String [not null]
imageAltDescription String [not null]
Lists List [not null]
createdAt DateTime [default: `now()`, not null]
updatedAt DateTime [not null]
}
Table List {
id String [pk]
boardId String [not null]
title String [not null]
order Int [not null]
board Board [not null]
createdAt DateTim
Table AuditLog {
id String [pk]
userId String [not null]
userImage String [not null]
userName String [not null]
orgId String [not null]
action Action [not null]
entityId String [not null]
entityType EntityType [not null]
entityTitle String [not null]
createdAt DateTime [default: `now()`, not null]
updatedAt DateTime [ne [default: `now()`, not null]
updatedAt DateTime [not null]
Cards Card [not null]
}
Table Card {
id String [pk]
listId String [not null]
title String [not null]
order Int [not null]
description String
list List [not null]
createdAt DateTime [default: `now()`, not null]
updatedAt DateTime [not null]
}
Table AuditLog {
id String [pk]
userId String [not null]
userImage String [not null]
userName String [not null]
orgId String [not null]
action Action [not null]
entityId String [not null]
entityType EntityType [not null]
entityTitle String [not null]
createdAt DateTime [default: `now()`, not null]
updatedAt DateTime [not null]
}
Table OrgLimit {
id String [pk]
orgId String [unique, not null]
count Int [not null, default: 0]
createdAt DateTime [default: `now()`, not null]
updatedAt DateTime [not null]
}
Table OrgSubscription {
id String [pk]
orgId String [unique, not null]
stripeCustomerId String [unique]
stripeSubscriptionId String [unique]
stripePriceId String
stripeCurrentPeriodEnd DateTime
}
Enum Action {
CREATE
UPDATE
DELETE
REORDER
COPY
}
Enum EntityType {
BOARD
LIST
CARD
}
Ref: List.boardId > Board.id [delete: Cascade]
Ref: Card.listId > List.id [delete: Cascade]