Created
January 4, 2012 10:08
-
-
Save keltia/1559414 to your computer and use it in GitHub Desktop.
Running radiant:extensions:clipped:migrate_from_page_attachments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I mau have missed something during the 0.7.1 -> 0.9.1 migration... | |
1227 [11:05] roberto@centre:/www/oradiant> bundle exec rake production radiant:extensions:clipped:migrate_from_page_attachments | |
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.Gem.source_index called from /home/staff/roberto/.rvm/gems/ruby-1.9.3-p0@1.9.3/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.This task can clean up traces of the page_attachments (think table records and files currently in /public/page_attachments). | |
If you would like to use this mode type "yes", type "no" or just hit enter to leave them untouched for now. | |
yes | |
rake aborted! | |
PGError: ERROR: relation "old_page_attachments" does not exist | |
LINE 4: WHERE a.attrelid = '"old_page_attachments"'::re... | |
^ | |
: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull | |
FROM pg_attribute a LEFT JOIN pg_attrdef d | |
ON a.attrelid = d.adrelid AND a.attnum = d.adnum | |
WHERE a.attrelid = '"old_page_attachments"'::regclass | |
AND a.attnum > 0 AND NOT a.attisdropped | |
ORDER BY a.attnum | |
Tasks: TOP => radiant:extensions:clipped:migrate_from_page_attachments | |
(See full trace by running task with --trace) | |
PGSQL: | |
1228 [11:06] roberto@centre:/www/oradiant> psql radiant_livepsql (8.4.2) | |
Type "help" for help. | |
radiant_live=# \dt | |
List of relations | |
Schema | Name | Type | Owner | |
--------+--------------------+-------+--------- | |
public | assets | table | roberto | |
public | config | table | roberto | |
public | extension_meta | table | roberto | |
public | galleries | table | roberto | |
public | gallery_importings | table | roberto | |
public | gallery_item_infos | table | roberto | |
public | gallery_items | table | roberto | |
public | layouts | table | roberto | |
public | page_attachments | table | roberto | |
public | page_fields | table | roberto | |
public | page_parts | table | roberto | |
public | pages | table | roberto | |
public | schema_migrations | table | roberto | |
public | sessions | table | roberto | |
public | snippets | table | roberto | |
public | users | table | roberto | |
(16 rows) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when you upgraded, did you run
rake radiant:update
and thenrake db:migrate
?I think the migrate task should have taken care of this for you