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
ebeb952c
Commit
ebeb952c
authored
Nov 23, 2007
by
Nigel McNie
Browse files
Correct field definition such that MySQL will live.
parent
e113fb45
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/db/upgrade.php
View file @
ebeb952c
...
...
@@ -308,7 +308,7 @@ function xmldb_core_upgrade($oldversion=0) {
$table
->
addFieldInfo
(
'blocktype'
,
XMLDB_TYPE_CHAR
,
255
,
XMLDB_UNSIGNED
,
XMLDB_NOTNULL
);
$table
->
addFieldInfo
(
'title'
,
XMLDB_TYPE_CHAR
,
255
,
XMLDB_UNSIGNED
,
XMLDB_NOTNULL
);
$table
->
addFieldInfo
(
'configdata'
,
XMLDB_TYPE_TEXT
,
null
);
$table
->
addFieldInfo
(
'view'
,
XMLDB_TYPE_INTEGER
,
10
,
XMLDB_UNSIGNED
,
XMLDB_NOTNULL
);
$table
->
addFieldInfo
(
'view'
,
XMLDB_TYPE_INTEGER
,
10
,
false
,
XMLDB_NOTNULL
);
$table
->
addFIeldInfo
(
'column'
,
XMLDB_TYPE_INTEGER
,
2
,
XMLDB_UNSIGNED
,
XMLDB_NOTNULL
);
$table
->
addFIeldInfo
(
'order'
,
XMLDB_TYPE_INTEGER
,
2
,
XMLDB_UNSIGNED
,
XMLDB_NOTNULL
);
$table
->
addKeyInfo
(
'primary'
,
XMLDB_KEY_PRIMARY
,
array
(
'id'
));
...
...
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