-
Notifications
You must be signed in to change notification settings - Fork 1
/
model.xml
30 lines (27 loc) · 5.26 KB
/
model.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="utf-8" ?><sql><datatypes db="mysql">
<group label="Numeric" color="rgb(238,238,170)">
<type label="Integer" length="0" sql="INTEGER" re="INT" quote=""/>
<type label="Decimal" length="1" sql="DECIMAL" re="DEC" quote=""/>
<type label="Single precision" length="0" sql="FLOAT" quote=""/>
<type label="Double precision" length="0" sql="DOUBLE" re="DOUBLE" quote=""/>
</group>
<group label="Character" color="rgb(255,200,200)">
<type label="Char" length="1" sql="CHAR" quote="'"/>
<type label="Varchar" length="1" sql="VARCHAR" quote="'"/>
<type label="Text" length="0" sql="MEDIUMTEXT" re="TEXT" quote="'"/>
<type label="Binary" length="1" sql="BINARY" quote="'"/>
<type label="Varbinary" length="1" sql="VARBINARY" quote="'"/>
<type label="BLOB" length="0" sql="BLOB" re="BLOB" quote="'"/>
</group>
<group label="Date & Time" color="rgb(200,255,200)">
<type label="Date" length="0" sql="DATE" quote="'"/>
<type label="Time" length="0" sql="TIME" quote="'"/>
<type label="Datetime" length="0" sql="DATETIME" quote="'"/>
<type label="Year" length="0" sql="YEAR" quote=""/>
<type label="Timestamp" length="0" sql="TIMESTAMP" quote="'"/>
</group>
<group label="Miscellaneous" color="rgb(200,200,255)">
<type label="ENUM" length="1" sql="ENUM" quote=""/>
<type label="SET" length="1" sql="SET" quote=""/>
</group>
</datatypes><table x="166" y="130" name="aluno"><row name="id" null="0" autoincrement="1"><datatype>INTEGER</datatype></row><row name="user_id" null="0" autoincrement="0"><datatype>INTEGER</datatype><relation table="user" row="id" /></row><row name="email" null="1" autoincrement="0"><datatype>VARCHAR(64)</datatype></row><row name="full_name" null="0" autoincrement="0"><datatype>VARCHAR(128)</datatype></row><row name="short_name" null="1" autoincrement="0"><datatype>VARCHAR(32)</datatype></row><row name="password" null="0" autoincrement="0"><datatype>VARCHAR(32)</datatype></row><row name="grade" null="1" autoincrement="0"><datatype>INTEGER</datatype></row><row name="picture" null="1" autoincrement="0"><datatype>VARCHAR(512)</datatype></row><key type="PRIMARY" name=""><part>id</part></key></table><table x="808" y="122" name="professor"><row name="id" null="0" autoincrement="1"><datatype>INTEGER</datatype></row><row name="user_id" null="0" autoincrement="0"><datatype>INTEGER</datatype><relation table="user" row="id" /></row><row name="email" null="0" autoincrement="0"><datatype>VARCHAR(64)</datatype></row><row name="full_name" null="0" autoincrement="0"><datatype>VARCHAR(128)</datatype></row><row name="short_name" null="0" autoincrement="0"><datatype>VARCHAR(32)</datatype></row><row name="password" null="1" autoincrement="0"><datatype>VARCHAR(32)</datatype></row><row name="grade" null="1" autoincrement="0"><datatype>INTEGER</datatype></row><row name="picture" null="0" autoincrement="0"><datatype>VARCHAR(512)</datatype></row><key type="PRIMARY" name=""><part>id</part></key></table><table x="166" y="443" name="karma"><row name="id" null="0" autoincrement="1"><datatype>INTEGER</datatype></row><row name="aluno_id" null="0" autoincrement="0"><datatype>INTEGER</datatype><relation table="aluno" row="id" /></row><row name="avaliacao_id" null="0" autoincrement="0"><datatype>INTEGER</datatype><relation table="avaliacao" row="id" /></row><row name="value" null="0" autoincrement="0"><datatype>BINARY</datatype></row><key type="PRIMARY" name=""><part>id</part></key></table><table x="811" y="426" name="disciplina"><row name="id" null="0" autoincrement="1"><datatype>INTEGER</datatype></row><row name="name" null="0" autoincrement="0"><datatype>VARCHAR(128)</datatype></row><row name="short_name" null="0" autoincrement="0"><datatype>VARCHAR(32)</datatype></row><row name="code" null="0" autoincrement="0"><datatype>VARCHAR(8)</datatype></row><key type="PRIMARY" name=""><part>id</part></key></table><table x="492" y="23" name="user"><row name="id" null="0" autoincrement="1"><datatype>INTEGER</datatype></row><row name="email" null="0" autoincrement="0"><datatype>VARCHAR(64)</datatype></row><row name="full_name" null="0" autoincrement="0"><datatype>VARCHAR(128)</datatype></row><row name="password" null="0" autoincrement="0"><datatype>VARCHAR(32)</datatype></row><key type="PRIMARY" name=""><part>id</part></key></table><table x="476" y="255" name="avaliacao"><row name="id" null="0" autoincrement="1"><datatype>INTEGER</datatype></row><row name="aluno_id" null="0" autoincrement="0"><datatype>INTEGER</datatype><relation table="aluno" row="id" /></row><row name="professor_id" null="0" autoincrement="0"><datatype>INTEGER</datatype><relation table="professor" row="id" /></row><row name="disciplina_id" null="0" autoincrement="0"><datatype>INTEGER</datatype><relation table="disciplina" row="id" /></row><row name="year" null="1" autoincrement="0"><datatype>INTEGER</datatype></row><row name="semester" null="1" autoincrement="0"><datatype>BINARY</datatype></row><row name="grade" null="0" autoincrement="0"><datatype>INTEGER</datatype></row><row name="comment" null="1" autoincrement="0"><datatype>VARCHAR(4096)</datatype></row><row name="reply" null="1" autoincrement="0"><datatype>VARCHAR(4096)</datatype></row><row name="karma" null="0" autoincrement="0"><datatype>INTEGER</datatype><default>0</default></row><key type="PRIMARY" name=""><part>id</part></key></table></sql>