aware_support wroteCheck if ALTER TABLE supports this syntax. If it does you can manually change the table after Aware IM creates it by manually running an SQL query that changes the column type to FILESTREAM. Aware IM will NOT create the column with this setting automatically.
This is a good idea, but raises a problem.
Let's say I develop an app and in Items table I'm storing the image and drawing of the item. Then after I publish it the first time, I do have a chance to run your ALTER_TABLE solution in order to set the required attributes.
Now sometime has passed and lots of data and images are stored. Remember, in FileStream, the image is stored on disk as a file and it's URI is stored in database table.
Then after sometime when lots of data has been entered, we decide to publish a new version. But in the new version, we have added more fields to Item table. So, what's going to happen:
When we publish a new version, with new Item table schema, your system is going to run ALTER_TABLE that is created by your system WITHOUT the usage of FILESTREAM attribute. This will cause the original item table that is holding the URI to change (ultimately will delete the URI and replaces it with regular BLOB). At this point, SQL engine, will also delete the actual file from the disk when the URI field is deleted. (It's part of it's system). So at the first stage of running your ALTER_TABLE, will cause all the images to be deleted. Even, if I go again and run ALTER_TABLE with the FILESTREAM attribute turned on, it will only be good for the next set of images to be created as filestream, but the first ALTER_TABLE run by your system, will delete them all.
Anytime a tool (Like Aware IM) is maintaining database, is not a good idea, for developers to interject other commands, because the integrity will be broken. So unless this feature in built in, I wouldn't risk trying to keep up with maintaining it outside of the tool.
Does it make sense?
Thanks!