The code adds new column and then immediately sets it to NOT NULL. If there are any rows in the table the new column is NULL and setting it to NOT NULL fails. Changing the order or sql statesments solves the problem

CommentFileSizeAuthor
update_131.diff1010 bytesCvbge

Comments

Cvbge’s picture

Priority: Critical » Normal

It's probably not 'critical' bug.

dries’s picture

Status: Needs review » Fixed

Committed to HEAD and DRUPAL-4-6.

Patriciafish’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)