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
1b3e4273
Commit
1b3e4273
authored
Aug 07, 2007
by
Nigel McNie
Browse files
Fix a spelling mistake in an upgrade that was causing an index to be renamed.
parent
fbbf44e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/db/upgrade.php
View file @
1b3e4273
...
...
@@ -251,7 +251,7 @@ function xmldb_core_upgrade($oldversion=0) {
// migrate everything we had to change to make mysql happy
execute_sql
(
"ALTER TABLE
{
$prefix
}
cron DROP CONSTRAINT
{
$prefix
}
cron_cal_pk"
);
// can't drop primary keys using xmldb...
execute_sql
(
"ALTER TABLE
{
$prefix
}
cron ADD CONSTRAINT
{
$prefix
}
cron_id_pk PRIMARY KEY (id)"
);
// or add them!
execute_sql
(
"ALTER TABLE
{
$prefix
}
cron ADD CONSTRAINT
{
$prefix
}
cron_cal_u
k
UNIQUE (callfunction)"
);
execute_sql
(
"ALTER TABLE
{
$prefix
}
cron ADD CONSTRAINT
{
$prefix
}
cron_cal_u
ix
UNIQUE (callfunction)"
);
execute_sql
(
"ALTER TABLE
{
$prefix
}
community ALTER COLUMN name TYPE varchar (128)"
);
execute_sql
(
"ALTER TABLE
{
$prefix
}
usr_activity_preference ALTER COLUMN method TYPE varchar(255)"
);
execute_sql
(
"ALTER TABLE
{
$prefix
}
template_category ALTER COLUMN name TYPE varchar(128)"
);
...
...
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