Wiki News Projects Sources Tasks New Task Reports
Task #100937
Write a tool/query to convert attachments Process Started: 7 months ago
Task is Closed Process Finished: 7 months ago
Workflow: ImplementAFeature
Started by: szakusov Priority: ASAP
Project: EmForge Milestone: EmForge-0.23
Process Due Date: Developer: szakusov
Description

Since EmForge-0.23 attachments are stored as blob type (wiki_att table), in previous versions of EmForge attachments were stored as byte[].

So we need(?) convert old attachments to new type (hm... I think hibernate does do it, doesn't it?)

Comments (2)
Posted by szakusov 7 months ago

Committed to http://svn.emforge.org/svn/emforge/tools/.

There is AttachmentDataFix class which just copies all entries from wiki_att table to wiki_att_new which has data field as BinaryBlobType type.

Unfortunately I do not have a production postresql database, so I can't to test it on real data.

Posted by szakusov 7 months ago
The task wiil be closed because it's a duplicate of ^98827
Login to add comment
History
Picture
2008-04-16 09:01:Start New Process
2008-04-16 09:01:End Task: Request a Feature
2008-04-16 09:04:End Task: Accept Feature
2008-04-16 09:05:End Task: Assign Feature to Milestone
2008-04-16 09:08:End Task: Assign Feature to Developer
2008-04-18 10:59:End Task: Implement Feature