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
be10ca67
Commit
be10ca67
authored
Nov 15, 2006
by
Martyn Smith
Committed by
Martyn Smith
Nov 15, 2006
Browse files
Database changes
parent
e00e1b47
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/internal/db/install.xml
View file @
be10ca67
...
...
@@ -4,17 +4,19 @@
xsi:noNamespaceSchemaLocation=
"../../lib/xmldb/xmldb.xsd"
>
<TABLES>
<!-- This isn't required anymore ... I think ...
<TABLE NAME="artefact_internal_profile">
<FIELDS>
<FIELD
NAME=
"
us
er"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
/>
<FIELD NAME="
own
er" TYPE="int" LENGTH="10" NOTNULL="true" />
<FIELD NAME="field" TYPE="char" LENGTH="100" NOTNULL="true" />
<FIELD NAME="value" TYPE="text" NOTNULL="true" />
</FIELDS>
<KEYS>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"
us
er,field"
/>
<KEY
NAME=
"
us
erfk"
TYPE=
"foreign"
FIELDS=
"
us
er"
REFTABLE=
"usr"
REFFIELDS=
"id"
/>
<KEY NAME="primary" TYPE="primary" FIELDS="
own
er,field" />
<KEY NAME="
own
erfk" TYPE="foreign" FIELDS="
own
er" REFTABLE="usr" REFFIELDS="id" />
</KEYS>
</TABLE>
-->
<TABLE
NAME=
"artefact_internal_profile_email"
>
<FIELDS>
<FIELD
NAME=
"user"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
/>
...
...
@@ -39,4 +41,4 @@
</KEYS>
</TABLE>
</TABLES>
</XMLDB>
\ No newline at end of file
</XMLDB>
htdocs/lib/db/install.xml
View file @
be10ca67
...
...
@@ -221,13 +221,11 @@
</TABLE>
<TABLE
NAME=
"artefact_installed_type"
>
<FIELDS>
<FIELD
NAME=
"id"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
SEQUENCE=
"true"
/>
<FIELD
NAME=
"name"
TYPE=
"char"
LENGTH=
"255"
NOTNULL=
"true"
/>
<FIELD
NAME=
"plugin"
TYPE=
"char"
LENGTH=
"255"
NOTNULL=
"true"
/>
</FIELDS>
<KEYS>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"id"
/>
<KEY
NAME=
"nameuk"
TYPE=
"unique"
FIELDS=
"name,plugin"
/>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"name"
/>
<KEY
NAME=
"pluginfk"
TYPE=
"foreign"
FIELDS=
"plugin"
REFTABLE=
"artefact_installed"
REFFIELDS=
"name"
/>
</KEYS>
</TABLE>
...
...
@@ -290,7 +288,7 @@
</FIELDS>
<KEYS>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"id"
/>
<KEY
NAME=
"typefk"
TYPE=
"foreign"
FIELDS=
"artefacttype"
REFTABLE=
"artefact_installed_type"
REFFIELDS=
"
id
"
/>
<KEY
NAME=
"typefk"
TYPE=
"foreign"
FIELDS=
"artefacttype"
REFTABLE=
"artefact_installed_type"
REFFIELDS=
"
name
"
/>
<KEY
NAME=
"parentfk"
TYPE=
"foreign"
FIELDS=
"parent"
REFTABLE=
"artefact"
REFFIELDS=
"id"
/>
<KEY
NAME=
"usrfk"
TYPE=
"foreign"
FIELDS=
"owner"
REFTABLE=
"usr"
REFFIELDS=
"id"
/>
</KEYS>
...
...
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