Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
c2b3f9d5
Commit
c2b3f9d5
authored
Nov 16, 2006
by
Martyn Smith
Committed by
Martyn Smith
Nov 16, 2006
Browse files
Changed field names, and added FKs to artefact
parent
6460fa9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/internal/db/install.xml
View file @
c2b3f9d5
...
...
@@ -19,25 +19,27 @@
-->
<TABLE
NAME=
"artefact_internal_profile_email"
>
<FIELDS>
<FIELD
NAME=
"
us
er"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
/>
<FIELD
NAME=
"
own
er"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
/>
<FIELD
NAME=
"email"
TYPE=
"text"
NOTNULL=
"true"
/>
<FIELD
NAME=
"verified"
TYPE=
"int"
LENGTH=
"1"
NOTNULL=
"true"
DEFAULT=
"0"
/>
<FIELD
NAME=
"principal"
TYPE=
"int"
LENGTH=
"1"
NOTNULL=
"true"
DEFAULT=
"0"
/>
<FIELD
NAME=
"artefact"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"false"
/>
</FIELDS>
<KEYS>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"user,email"
/>
<KEY
NAME=
"userfk"
TYPE=
"foreign"
FIELDS=
"user"
REFTABLE=
"usr"
REFFIELDS=
"id"
/>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"owner,email"
/>
<KEY
NAME=
"ownerfk"
TYPE=
"foreign"
FIELDS=
"owner"
REFTABLE=
"usr"
REFFIELDS=
"id"
/>
<KEY
NAME=
"artefactfk"
TYPE=
"foreign"
FIELDS=
"artefact"
REFTABLE=
"artefact"
REFFIELDS=
"id"
/>
</KEYS>
</TABLE>
<TABLE
NAME=
"artefact_internal_profile_icon"
>
<FIELDS>
<FIELD
NAME=
"
us
er"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
/>
<FIELD
NAME=
"
own
er"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
/>
<FIELD
NAME=
"filename"
TYPE=
"text"
NOTNULL=
"true"
/>
<FIELD
NAME=
"primary"
TYPE=
"int"
LENGTH=
"1"
NOTNULL=
"true"
DEFAULT=
"0"
/>
</FIELDS>
<KEYS>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"
us
er,filename"
/>
<KEY
NAME=
"
us
erfk"
TYPE=
"foreign"
FIELDS=
"
us
er"
REFTABLE=
"usr"
REFFIELDS=
"id"
/>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"
own
er,filename"
/>
<KEY
NAME=
"
own
erfk"
TYPE=
"foreign"
FIELDS=
"
own
er"
REFTABLE=
"usr"
REFFIELDS=
"id"
/>
</KEYS>
</TABLE>
</TABLES>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment