Skip to content
GitLab
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
f37d228e
Commit
f37d228e
authored
Jan 14, 2008
by
Clare Lenihan
Committed by
Clare Lenihan
Jan 14, 2008
Browse files
adding a deleted field to the group table
increases the version number
parent
497d5bfa
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/db/install.xml
View file @
f37d228e
...
...
@@ -276,6 +276,7 @@
<FIELD
NAME=
"owner"
TYPE=
"int"
LENGTH=
"10"
NOTNULL=
"true"
/>
<FIELD
NAME=
"ctime"
TYPE=
"datetime"
NOTNULL=
"true"
/>
<FIELD
NAME=
"mtime"
TYPE=
"datetime"
NOTNULL=
"true"
/>
<FIELD
NAME=
"deleted"
TYPE=
"int"
LENGTH=
"1"
NOTNULL=
"true"
DEFAULT=
"0"
/>
</FIELDS>
<KEYS>
<KEY
NAME=
"primary"
TYPE=
"primary"
FIELDS=
"id"
/>
...
...
htdocs/lib/db/upgrade.php
View file @
f37d228e
...
...
@@ -777,6 +777,14 @@ function xmldb_core_upgrade($oldversion=0) {
execute_sql
(
'ALTER TABLE {institution} ADD COLUMN maxuseraccounts bigint'
);
}
if
(
$oldversion
<
2008011400
)
{
$table
=
new
XMLDBTable
(
'group'
);
$field
=
new
XMLDBField
(
'deleted'
);
$field
->
setAttributes
(
XMLDB_TYPE_INTEGER
,
1
,
XMLDB_UNSIGNED
,
XMLDB_NOTNULL
,
null
,
null
,
null
,
0
);
add_field
(
$table
,
$field
);
}
return
$status
;
}
...
...
htdocs/lib/version.php
View file @
f37d228e
...
...
@@ -27,7 +27,7 @@
defined
(
'INTERNAL'
)
||
die
();
$config
=
new
StdClass
;
$config
->
version
=
200801
08
00
;
$config
->
version
=
200801
14
00
;
$config
->
release
=
'1.0.0alpha1dev'
;
$config
->
minupgradefrom
=
2007080700
;
$config
->
minupgraderelease
=
'0.8.0 (release tag 0.8.0_RELEASE)'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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