|
|
|
Environment:
|
PostgreSQL and MySQL
|
|
Issue Links:
|
Duplicate
|
|
This issue duplicates:
|
|
MDL-6218
MySQL - TEXT and BLOB columns can't have a default value
|
|
|
|
|
|
|
|
| Database: |
PostgreSQL, MySQL
|
| Participants: |
Eloy Lafuente (stronk7) and Penny Leach
|
| Security Level: |
None
|
| Resolved date: |
09/Dec/07
|
| Affected Branches: |
MOODLE_19_STABLE
|
| Fixed Branches: |
MOODLE_19_STABLE
|
|
Starting from Moodle 1.7 we are installing all the TEXT fields without defaults. That's OK.
But some old installations will contain some defaults under such type of columns. The idea is to iterate over all the fields of this type in Moodle, dropping the default clause if present.
Needed for MySQL and PostgreSQL (there weren't other flavours before 1.7)
Ciao :-)
|
|
Description
|
Starting from Moodle 1.7 we are installing all the TEXT fields without defaults. That's OK.
But some old installations will contain some defaults under such type of columns. The idea is to iterate over all the fields of this type in Moodle, dropping the default clause if present.
Needed for MySQL and PostgreSQL (there weren't other flavours before 1.7)
Ciao :-) |
Show » |
|