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
121918aa
Commit
121918aa
authored
Nov 22, 2006
by
Nigel McNie
Committed by
Nigel McNie
Nov 22, 2006
Browse files
Added a new table for storing locked profile fields.
parent
492dc45c
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/db/install.xml
View file @
121918aa
...
...
@@ -32,7 +32,7 @@
<FIELD
NAME=
"authplugin"
TYPE=
"char"
LENGTH=
"255"
NOTNULL=
"true"
/>
<FIELD
NAME=
"registerallowed"
TYPE=
"int"
LENGTH=
"1"
NOTNULL=
"true"
DEFAULT=
"1"
/>
<FIELD
NAME=
"updateuserinfoonlogin"
TYPE=
"int"
LENGTH=
"1"
NOTNULL=
"false"
DEFAULT=
"0"
/>
<FIELD
NAME=
"defaultaccountlifetime"
TYPE=
"
datetime
"
NOTNULL=
"false"
/>
<FIELD
NAME=
"defaultaccountlifetime"
TYPE=
"
int
"
NOTNULL=
"false"
/>
<FIELD
NAME=
"defaultaccountinactiveexpire"
TYPE=
"int"
NOTNULL=
"false"
/>
<FIELD
NAME=
"defaultaccountinactivewarn"
TYPE=
"int"
NOTNULL=
"false"
DEFAULT=
"604800"
/>
</FIELDS>
...
...
@@ -41,6 +41,16 @@
<KEY
NAME=
"pluginfk"
TYPE=
"foreign"
FIELDS=
"authplugin"
REFTABLE=
"auth_installed"
REFFIELDS=
"name"
/>
</KEYS>
</TABLE>
<TABLE
NAME=
"institution_locked_profile_field"
>
<FIELDS>
<FIELD
NAME=
"name"
TYPE=
"char"
LENGTH=
"255"
NOTNULL=
"true"
/>
<FIELD
NAME=
"profilefield"
TYPE=
"char"
LENGTH=
"255"
NOTNULL=
"true"
/>
</FIELDS>
<KEYS>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"name, profilefield"
/>
<KEY
NAME=
"name"
TYPE=
"foreign"
FIELDS=
"name"
REFTABLE=
"institution"
REFFIELDS=
"name"
/>
</KEYS>
</TABLE>
<TABLE
NAME=
"usr"
>
<FIELDS>
<FIELD
NAME=
"id"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
SEQUENCE=
"true"
/>
...
...
Write
Preview
Markdown
is supported
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