silentnights wrote:
> And now when I run trac-admin $env upgrade --no-backup I get this
> error:
> 
> NotSupportedError: cannot alter type of a column used by a view or
> rule
> DETAIL:  rule _RETURN on view trac_view.ticket depends on column
> "changetime"

It looks like someone has created a view named "trac_view.ticket" that
references the column "changetime" in the "ticket" table. This field is
altered during the upgrade procedure to 0.12, and this doesn't seem to
be possible on PostgreSQL while the view exists.

You should delete all views that reference Trac tables, run the Trac
upgrade procedure, then re-create the views.

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to