🗃️ Store melee data into SQLite

This commit is contained in:
zhbaor 2022-09-29 10:27:01 +08:00
parent 8b847e0f9c
commit c0fc97a578
7 changed files with 73 additions and 23 deletions

10
data/convert/31-0/db.py Normal file
View file

@ -0,0 +1,10 @@
from pony.orm import *
db = Database()
class Melee(db.Entity):
name = Required(str)
description = Optional(str)
mechanism = Optional(str)
icon = Required(bytes)