Skip to content

Commit b83e693

Browse files
committed
Add test config for "singularTableName"
1 parent 2b45493 commit b83e693

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
desc: Sample database document.
3+
labels:
4+
- sample
5+
- tbls
6+
detectVirtualRelations:
7+
enabled: true
8+
strategy: singularTableName
9+
lint:
10+
requireColumnComment:
11+
enabled: true
12+
exclude:
13+
- id
14+
- created
15+
- updated
16+
columnCount:
17+
enabled: true
18+
max: 5
19+
comments:
20+
-
21+
table: post
22+
columnComments:
23+
body: post body
24+
labels:
25+
- green
26+
- red
27+
- blue
28+
-
29+
table: log
30+
-
31+
table: post_comment
32+
tableComment: post and comments View table
33+
columnComments:
34+
id: comment.id
35+
title: post.title
36+
post_user: post.user.username
37+
comment_user: comment.user.username
38+
created: comment.created
39+
updated: comment.updated

0 commit comments

Comments
 (0)