Skip to content

Commit

Permalink
Merge pull request #25 from ttngu207/master
Browse files Browse the repository at this point in the history
add `attribute_blob` to the `Attribute` table
  • Loading branch information
CBroz1 authored Oct 11, 2022
2 parents 1ba4e94 + e26b654 commit 4a98489
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.

## 0.1.2 - 2022-08-26
### Added
+ Added `attribute_blob` as `longblob` in the Attribute tables - support storing non-string types of data

## 0.1.1 - 2022-06-10
### Added
+ NotImplementedError where Imported tables do not offer make function
Expand Down
10 changes: 6 additions & 4 deletions element_event/trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ class Attribute(dj.Part):
-> master
attribute_name : varchar(32)
---
attribute_value : varchar(2000)
"""
attribute_value='': varchar(2000)
attribute_blob=null: longblob
"""

def make(self, key):
raise NotImplementedError("For `insert`, use `allow_direct_insert=True`")
Expand Down Expand Up @@ -110,8 +111,9 @@ class Attribute(dj.Part):
-> master
attribute_name : varchar(32)
---
attribute_value : varchar(2000)
"""
attribute_value='': varchar(2000)
attribute_blob=null: longblob
"""

def make(self, key):
raise NotImplementedError("For `insert`, use `allow_direct_insert=True`")
Expand Down
2 changes: 1 addition & 1 deletion element_event/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.1.1"
__version__ = "0.1.2"

0 comments on commit 4a98489

Please sign in to comment.