Skip to content

Commit 51381ca

Browse files
authored
Merge pull request #3187 from noahwilliamsson/fix-3167-mariadb-10-3-user-crash
SPUserManager: fix crash with MariaDB 10.3
2 parents ab7f302 + e0c60b0 commit 51381ca

File tree

1 file changed

+2
-0
lines changed
  • Models/SPUserManager.xcdatamodel

1 file changed

+2
-0
lines changed

Models/SPUserManager.xcdatamodel/contents

+2
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)