Skip to content

Commit 4a98489

Browse files
authored
Merge pull request #25 from ttngu207/master
add `attribute_blob` to the `Attribute` table
2 parents 1ba4e94 + e26b654 commit 4a98489

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
## 0.1.2 - 2022-08-26
6+
### Added
7+
+ Added `attribute_blob` as `longblob` in the Attribute tables - support storing non-string types of data
8+
59
## 0.1.1 - 2022-06-10
610
### Added
711
+ NotImplementedError where Imported tables do not offer make function

element_event/trial.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ class Attribute(dj.Part):
7878
-> master
7979
attribute_name : varchar(32)
8080
---
81-
attribute_value : varchar(2000)
82-
"""
81+
attribute_value='': varchar(2000)
82+
attribute_blob=null: longblob
83+
"""
8384

8485
def make(self, key):
8586
raise NotImplementedError("For `insert`, use `allow_direct_insert=True`")
@@ -110,8 +111,9 @@ class Attribute(dj.Part):
110111
-> master
111112
attribute_name : varchar(32)
112113
---
113-
attribute_value : varchar(2000)
114-
"""
114+
attribute_value='': varchar(2000)
115+
attribute_blob=null: longblob
116+
"""
115117

116118
def make(self, key):
117119
raise NotImplementedError("For `insert`, use `allow_direct_insert=True`")

element_event/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Package metadata."""
2-
__version__ = "0.1.1"
2+
__version__ = "0.1.2"

0 commit comments

Comments
 (0)