Closed (fixed)
Project:
Migrate
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Jun 2011 at 15:14 UTC
Updated:
5 Jul 2011 at 18:51 UTC
Jump to comment: Most recent file
I have a situation where file data (e.g., images) is stored as blob fields in the source (Oracle) database. So, it would be nice for the file field handler to deal with creating files from blobs.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | blob_save-1180188-2.patch | 4.85 KB | mikeryan |
| #1 | 0001-Support-for-saving-BLOB-columns-into-the-file-field-.patch | 4.85 KB | moshe weitzman |
Comments
Comment #1
moshe weitzman commentedThis in-progress patch tries to create the source table with a BLOB column. The column gets created but I am getting an error during data insertion. Could someone take a look? I will meanwhile work on the file handling part of the patch.
Comment #2
mikeryanA RETURNING clause for mainimage was needed, took a little trial-and-error to figure out the right syntax with multiple LOBs...
Comment #3
moshe weitzman commentedCommitted file_blob support to 7.x-2.x. file_link was copied to D7 from D6 as well.
Comment #4
moshe weitzman commentedI just committed support for migrating from BLOB column into file entity. There is an example in wine.inc (WineFileBlobMigration)