Skip to content

Commit 95f64bf

Browse files
author
Thinh Nguyen
authored
add attribute_blob to the Attribute table
1 parent e9a242e commit 95f64bf

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

element_event/trial.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,11 @@ class Block(dj.Imported):
6161
class Attribute(dj.Part):
6262
definition = """ # Additional block attributes to fully describe a block
6363
-> master
64-
attribute_name : varchar(16)
64+
attribute_name : varchar(32)
6565
---
66-
attribute_value : varchar(2000)
67-
"""
66+
attribute_value='': varchar(2000)
67+
attribute_blob=null: longblob
68+
"""
6869

6970

7071
@schema
@@ -90,10 +91,11 @@ class Trial(dj.Imported):
9091
class Attribute(dj.Part):
9192
definition = """ # Additional trial attributes to fully describe a trial
9293
-> master
93-
attribute_name : varchar(16)
94+
attribute_name : varchar(32)
9495
---
95-
attribute_value : varchar(2000)
96-
"""
96+
attribute_value='': varchar(2000)
97+
attribute_blob=null: longblob
98+
"""
9799

98100

99101
@schema

0 commit comments

Comments
 (0)