ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Active_prgs/Gromulus/models.py
Revision: 795
Committed: Fri Sep 8 15:11:11 2023 UTC (2 years, 6 months ago) by nino.borges
Content type: text/x-python
File size: 1053 byte(s)
Log Message:
Gromulus, which is a catalog inventory for roms, games and maybe one day applications.

File Contents

# Content
1 from sqlalchemy import Column, Integer, String, ForeignKey, Table
2 from sqlalchemy.orm import relationship, backref
3 from sqlalchemy.ext.declarative import declarative_base
4
5 Base = declarative_base()
6
7
8
9 class No_Intro(Base):
10 __tablename__ = "no_intro"
11 game_name = Column(String)
12 no_intro_game_id = Column(Integer, primary_key=True)
13 clone_of_id = Column(Integer)
14 description = Column(String)
15 rom_name = Column(String)
16 crc = Column(String)
17 md5 = Column(String)
18 sha1 = Column(String)
19 sha256 = Column(String)
20 status = Column(String)
21
22
23
24 class Main_App(Base):
25 __tablename__ = "main_app"
26 game_id = Column(Integer, primary_key=True)
27 game_name = Column(String)
28 game_name_scraped = Column(String)
29 file_name = Column(String)
30 relative_file_path = Column(String)
31 description = Column(String)
32 description_scraped = Column(String)
33 path_to_schreenshot = Column(String)
34 path_to_video = Column(String)
35 user_notes = Column(String)
36 md5 = Column(String)
37 version = Column(String)
38