Database schema

This commit is contained in:
Pellaeon Lin 2014-08-28 15:18:48 +00:00
parent 4031687e26
commit 11c7d33b5b
1 changed files with 33 additions and 0 deletions

33
appinfo/database.xml Normal file
View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8" ?>
<database>
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
<charset>utf8</charset>
<table>
<name>*dbprefix*registration</name>
<declaration>
<field>
<name>email</name>
<type>text</type>
<notnull>true</notnull>
</field>
<field>
<name>token</name>
<type>text</type>
<notnull>true</notnull>
</field>
<field>
<name>requested</name>
<type>timestamp</type>
<notnull>true</notnull>
</field>
<field>
<name>registered</name>
<type>boolean</type>
<default>false</default>
<notnull>true</notnull>
</field>
</declaration>
</table>
</database>