Index: actions.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/actions/actions.install,v retrieving revision 1.13 diff -b -u -p -r1.13 actions.install --- actions.install 21 Sep 2008 02:15:20 -0000 1.13 +++ actions.install 26 Sep 2008 11:02:39 -0000 @@ -55,7 +55,7 @@ function actions_install() { // Maps action to hook and operation assignments from actions.module. db_query("CREATE TABLE {actions_assignments} ( hook varchar(32) not null default '', - op varchar(40) not null default '', + op varchar(46) not null default '', aid varchar(255) not null default '', weight int not null default '0' CHECK (weight >= 0), PRIMARY KEY (hook, op, aid) @@ -234,9 +234,9 @@ function actions_update_5202() { case 'pgsql': $ret[] = update_sql("BEGIN; ALTER TABLE {actions_assignments} ADD COLUMN op_temp VARCHAR(46); - UPDATE op_temp SET new_col = CAST(op AS VARCHAR(46)); + UPDATE {actions_assignments} SET op_temp = CAST(op AS VARCHAR(46)); ALTER TABLE {actions_assignments} DROP COLUMN op; - RENAME op_temp TO op; + ALTER TABLE {actions_assignments} RENAME op_temp TO op; COMMIT;"); break; }