On /includes/database/pgsql/schema.inc start from line 336
if (isset($spec['initial'])) {
$this->connection->update($table)
->fields(array($field, $spec['initial']))
->execute();
}
Should be replace with
if (isset($spec['initial'])) {
$this->connection->update($table)
->fields(array($field => $spec['initial'])) // Must be array(index => value)
->execute();
}
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screenshot-2.png | 57.02 KB | chalet16 |
| #1 | drupal7-schema-api-passed.patch | 815 bytes | chalet16 |
Comments
Comment #1
chalet16 commentedPatch
Comment #2
chx commentedLooks good to me...
Comment #3
chalet16 commentedTest passed screenshot
Comment #4
webchickCommitted to HEAD. Thanks!