Skip to content

Commit

Permalink
Fix database scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Klingele committed Jul 27, 2017
1 parent d84a9d7 commit fa7edac
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions appinfo/database.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<database>
<database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/database.xsd">
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
Expand All @@ -10,7 +11,9 @@
<field>
<name>id</name>
<type>integer</type>
<autoincrement>1</autoincrement>
<unsigned>true</unsigned>
<notnull>true</notnull>
<autoincrement>true</autoincrement>
</field>
<field>
<name>tp</name>
Expand All @@ -30,7 +33,15 @@
<notnull>true</notnull>
</field>
<index>
<name>spreedme_tps_tp</name>
<name>spreedme_tps_id_index</name>
<primary>true</primary>
<unique>true</unique>
<field>
<name>id</name>
</field>
</index>
<index>
<name>spreedme_tps_tp_index</name>
<unique>true</unique>
<field>
<name>tp</name>
Expand Down

0 comments on commit fa7edac

Please sign in to comment.