sqlalchemy ORM models for quest databases and json parsing scripts
also minor bugfixes next is testing and implementation
This commit is contained in:
parent
6c455fe30b
commit
8b7815500e
10 changed files with 267 additions and 15 deletions
13
db/resource.py
Normal file
13
db/resource.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from sqlalchemy import Column, BigInteger, String
|
||||
|
||||
from .base import Base
|
||||
|
||||
class ResourceEntry(Base):
|
||||
__tablename__ = 'ResourceEntryRecord'
|
||||
__table_args__ = {'schema': 'ResourceEntry'}
|
||||
|
||||
path = Column(String, primary_key=True)
|
||||
serverPath = Column(String)
|
||||
localPath = Column(String)
|
||||
digest = Column(String)
|
||||
fileSize = Column(BigInteger)
|
||||
Loading…
Add table
Add a link
Reference in a new issue