You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .database_consistency.yml
+13-51Lines changed: 13 additions & 51 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,6 @@ DatabaseConsistencyCheckers:
22
22
enabled: false # Disabling this flag as currently there are issues reported on the project regarding this key.
23
23
ThreeStateBooleanChecker:
24
24
enabled: false # Disabling this flag as currently there are issues reported on the project regarding this key.
25
-
ForeignKeyChecker:
26
-
enabled: false # Disabling this flag as currently there are issues reported on the project regarding this key.
27
25
MissingAssociationClassChecker:
28
26
enabled: false # Disabling this flag as currently there are issues reported on the project regarding this key.
29
27
ForeignKeyTypeChecker:
@@ -35,54 +33,18 @@ DatabaseConsistencyCheckers:
35
33
RedundantIndexChecker:
36
34
enabled: false # Disabling this flag as currently there are issues reported on the project regarding this key.
37
35
38
-
User:
39
-
enabled: true # Enables/disables checks for the whole model. This can be overwritten by deeper configuration (latest configuration has highest priority).
40
-
phone:
41
-
enabled: true # Enables/disables checks for the field. This can be overwritten by deeper configuration (latest configuration has highest priority).
42
-
ColumnPresenceChecker:
43
-
enabled: true # Enables/disables specific checker for the field. This has the highest priority (except globally disabled checkers).
44
-
name:
45
-
enabled: true
46
-
code:
47
-
enabled: true
48
-
NullConstraintChecker:
49
-
enabled: true
50
-
name+email:
51
-
MissingUniqueIndexChecker:
52
-
enabled: true
53
-
54
-
Country:
55
-
users:
56
-
MissingIndexChecker:
57
-
enabled: true
58
-
59
-
# Can be compact (example), "enabled: true" is default
60
-
# User:
61
-
# phone:
62
-
# ColumnPresenceChecker:
63
-
# enabled: false
64
-
# name:
65
-
# enabled: false
66
-
# Company:
67
-
# enabled: false
68
-
69
-
70
-
# Concerns can be emulated using YAML's anchors and aliases
71
-
72
-
# 1. Define an anchor before declaring concern-related settings
73
-
DateConcern: &ignore_date_concern
74
-
date:
75
-
NullConstraintChecker:
36
+
Ahoy::Event:
37
+
visit:
38
+
ForeignKeyChecker:
76
39
enabled: false
77
-
NameConcern: &ignore_name_concern
78
-
name:
79
-
ColumnPresenceChecker:
40
+
user:
41
+
ForeignKeyChecker:
42
+
enabled: false
43
+
Ahoy::Visit:
44
+
user:
45
+
ForeignKeyChecker:
46
+
enabled: false
47
+
PushSubscription:
48
+
user:
49
+
ForeignKeyChecker:
80
50
enabled: false
81
-
82
-
# Models using concerns
83
-
# 2. Now include the relevant settings using aliases
0 commit comments