mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Ops, forgot to delete some debug... :-/
This commit is contained in:
parent
2a02841762
commit
ec68af222e
1 changed files with 0 additions and 2 deletions
|
@ -155,10 +155,8 @@ class XMLDBmssql extends XMLDBgenerator {
|
||||||
FROM syscolumns
|
FROM syscolumns
|
||||||
WHERE id = object_id('{$tablename}') AND
|
WHERE id = object_id('{$tablename}') AND
|
||||||
name = '$fieldname'")) {
|
name = '$fieldname'")) {
|
||||||
echo "DEFAULT FOUND";
|
|
||||||
$results[] = 'ALTER TABLE ' . $tablename . ' DROP CONSTRAINT ' . $default->defaultconstraint;
|
$results[] = 'ALTER TABLE ' . $tablename . ' DROP CONSTRAINT ' . $default->defaultconstraint;
|
||||||
}
|
}
|
||||||
echo "DEFAULT NOT FOUND";
|
|
||||||
|
|
||||||
/// Build the standard alter table drop
|
/// Build the standard alter table drop
|
||||||
$results[] = 'ALTER TABLE ' . $tablename . ' DROP COLUMN ' . $fieldname;
|
$results[] = 'ALTER TABLE ' . $tablename . ' DROP COLUMN ' . $fieldname;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue