Skip to content

Commit 73182a4

Browse files
committed
make data_path column nullable
1 parent 9349ab3 commit 73182a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/guppy/db/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class LayerMetadata(Base):
1515
layer_name = Column(String, nullable=False, unique=True)
1616
label = Column(String, nullable=False)
1717
file_path = Column(String, nullable=False)
18-
data_path = Column(String, nullable=False)
18+
data_path = Column(String, nullable=True)
1919
is_rgb = Column(Boolean, nullable=False, default=False, server_default=text('FALSE'))
2020
is_mbtile = Column(Boolean, nullable=False, default=False, server_default=text('FALSE'))
2121

0 commit comments

Comments
 (0)