mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-21 21:32:59 +00:00
Because there is a bug on boolean recognition in PHP, we are using string octal representation for flags
This commit is contained in:
+4
-12
@@ -52,16 +52,6 @@
|
||||
<type>text</type>
|
||||
<notnull>true</notnull>
|
||||
</field>
|
||||
<field>
|
||||
<name>sms_read</name>
|
||||
<type>boolean</type>
|
||||
<notnull>true</notnull>
|
||||
</field>
|
||||
<field>
|
||||
<name>sms_seen</name>
|
||||
<type>boolean</type>
|
||||
<notnull>true</notnull>
|
||||
</field>
|
||||
<field>
|
||||
<name>sms_date</name>
|
||||
<type>integer</type>
|
||||
@@ -69,9 +59,11 @@
|
||||
<length>10</length>
|
||||
</field>
|
||||
<field>
|
||||
<name>sms_draft</name>
|
||||
<type>boolean</type>
|
||||
<name>sms_flags</name>
|
||||
<type>text</type>
|
||||
<notnull>true</notnull>
|
||||
<default>000</default>
|
||||
<length>3</length>
|
||||
</field>
|
||||
</declaration>
|
||||
</table>
|
||||
|
||||
+1
-1
@@ -5,6 +5,6 @@
|
||||
<description>Owncloud SMS app</description>
|
||||
<licence>AGPL</licence>
|
||||
<author>Loic Blot</author>
|
||||
<version>0.1.0</version>
|
||||
<version>0.1.2</version>
|
||||
<requiremin>7</requiremin>
|
||||
</info>
|
||||
|
||||
Reference in New Issue
Block a user