Skip to content

Commit

Permalink
Pennkey and Value should be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
judtinzhang committed Apr 25, 2024
1 parent 495c1af commit a804a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
metadata,
Column("id", Integer, Identity(), primary_key=True),
Column("product", String, nullable=False),
Column("pennkey", String, nullable=False),
Column("pennkey", String, nullable=True),
Column("datapoint", String, nullable=False),
Column("value", String, nullable=False),
Column("value", String, nullable=True),
Column("timestamp", DateTime, nullable=False),
)

Expand Down

0 comments on commit a804a3e

Please sign in to comment.