Skip to content

Commit e0c60b0

Browse files
SPUserManager: fix crash with MariaDB 10.3
Patch by @Muffinman in #3167. Closes #2982, closes #3139, closes #3133 and closes #3167.
1 parent c0ac6ed commit e0c60b0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • Models/SPUserManager.xcdatamodel

Models/SPUserManager.xcdatamodel/contents

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<attribute name="show_view_priv" optional="YES" attributeType="Boolean" defaultValueString="NO" syncable="YES"/>
2222
<attribute name="trigger_priv" optional="YES" attributeType="Boolean" defaultValueString="NO" syncable="YES"/>
2323
<attribute name="update_priv" optional="YES" attributeType="Boolean" defaultValueString="NO" syncable="YES"/>
24+
<attribute name="delete_history_priv" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
2425
<attribute name="userManager" optional="YES" transient="YES" syncable="YES"/>
2526
<relationship name="user" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="SPUser" inverseName="schema_privileges" inverseEntity="SPUser" indexed="YES" syncable="YES"/>
2627
</entity>
@@ -68,6 +69,7 @@
6869
<attribute name="super_priv" optional="YES" attributeType="Boolean" defaultValueString="NO" syncable="YES"/>
6970
<attribute name="trigger_priv" optional="YES" attributeType="Boolean" defaultValueString="NO" syncable="YES"/>
7071
<attribute name="update_priv" optional="YES" attributeType="Boolean" defaultValueString="NO" syncable="YES"/>
72+
<attribute name="delete_history_priv" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
7173
<attribute name="user" optional="YES" attributeType="String" syncable="YES"/>
7274
<attribute name="userManager" optional="YES" transient="YES" syncable="YES"/>
7375
<relationship name="children" optional="YES" toMany="YES" minCount="1" deletionRule="Cascade" destinationEntity="SPUser" inverseName="parent" inverseEntity="SPUser" indexed="YES" syncable="YES"/>

0 commit comments

Comments
 (0)