fix: change column type to string for relation_type (#272) #none

This commit is contained in:
mst
2024-09-11 22:47:03 +09:00
committed by GitHub
parent cd85c4935c
commit 73a476979e
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ def _init_resource(private: bool = True, id: int = 1):
"id": Column(Integer, primary_key=True, autoincrement=True),
"source_id": Column(String),
"target_id": Column(String),
"relation_type": Column(Integer),
"relation_type": Column(String),
"user": Column(Integer, default=1),
},
)