Thanks Dave for your answser. It is clear for me now. I will add a new column to table to replace the filesystem.
Best regards, 2013/5/27 Dave <[email protected]> > Nicolas, > > With Roller 5.x media files are still stored in the file system. The major > difference is that there is a file-system directory for each blog, and each > media file is stored by ID rather than name. In the database we store > meta-data about each media-file including the "virtual folder" in which it > is stored. Each media files has it's own URL and that URL does not change > if you move the file from one "virtual folder" to another. > > - Dave > > > > > On Sun, May 26, 2013 at 5:32 PM, nicolas muller <[email protected]> wrote: > > > Hello, > > > > I was reading the previous ticket and was trying to understand roller 5.X > > source > > https://issues.apache.org/jira/browse/ROL-706 > > > > It is fantastic because media file api is an excellent "new "concept. > > Sorry to arrive after the battle but our websites are built with roller > 4.x > > so I didn't know the code of the new release. Too many modifications into > > the source code are evil for migration... > > > > In the previous version we created our own tables for file storage. Two > new > > tables : one for path and one for file. I read all your code and it is > nice > > to have everything to start. > > > > I wonder if it is better to update table or create a new one for binary > > storage. > > I will start by updating the existing roller_mediafile to test. > > > > Best regards > > >
