Skip to content

Conversation

@guzman-raphael
Copy link
Collaborator

Fix #143

Supports new configuration

{
  "blob.cache": "/tmp/cache",
  "stores": {
        "local": {
            "datajoint_type": "blob",
            "protocol": "file",
            "location": "/tmp/base",
            "subfolding": [
                3,
                4
            ]
   }
}

And is backward compatible to prior configuration

{
  "cache": "/tmp/cache",
  "stores": {
        "local": {
            "protocol": "file",
            "location": "/tmp/base",
            "subfolding": [
                3,
                4
            ]
   }
}

See python documentation (for now)
https://docs.datajoint.io/python/admin/5-blob-config.html#configuration

Copy link
Member

@dimitri-yatsenko dimitri-yatsenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

setupDJ.m Outdated
target = fullfile(base, 'mym.zip');
% mymURL = 'https://github.com/datajoint/mym/archive/master.zip';
mymURL = 'https://github.com/datajoint/mym/archive/external-storage.zip';
mymURL = 'https://github.com/guzman-raphael/mym/archive/ext-serialize.zip';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will change back to datajoint on the master branch.

date : datetime
number : float
blob : longblob
string=null : varchar(30)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
string=null : varchar(30)
string='' : varchar(30)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants