[Radiant] Import_export module problem

Stefan Urbanek stefan at agentfarms.net
Wed Jun 4 05:51:26 CDT 2008


Hi,

I am trying to use the import_export module:

get production DB:
     rake production db:export
move it to local DB:
     rake db:import

on import I am getting:

...
== 1 CreatePageAttachmentsExtensionSchema: migrating  
==========================
-- create_table("page_attachments")
rake aborted!
SQLite3::SQLException: table page_attachments already exists: CREATE  
TABLE page_attachments ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT  
NULL, "content_type" varchar(255) DEFAULT NULL, "filename"  
varchar(255) DEFAULT NULL, "size" integer DEFAULT NULL, "parent_id"  
integer DEFAULT NULL, "thumbnail" varchar(255) DEFAULT NULL, "width"  
integer DEFAULT NULL, "height" integer DEFAULT NULL, "created_at"  
datetime DEFAULT NULL, "created_by" integer DEFAULT NULL, "updated_at"  
datetime DEFAULT NULL, "updated_by" integer DEFAULT NULL, "page_id"  
integer DEFAULT NULL)

(See full trace by running task with --trace)

I have same schemas on both environments - development and production.

Any ideas what I might have wrong?

Thanks,

Stefan Urbanek




More information about the Radiant mailing list