-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodels.py
29 lines (23 loc) · 1.09 KB
/
models.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from sqlalchemy import Column, Integer, String, Text, ForeignKey
from sqlalchemy.orm import relationship
from database import Base
class MajorArcana(Base):
__tablename__ = "major_arcana"
id = Column(Integer, primary_key=True, index=True)
name = Column(String(100), nullable=False)
description = Column(Text, nullable=False)
relationship_interpretation = Column(Text, nullable=False)
career_interpretation = Column(Text, nullable=False)
class TarotHRInsights(Base):
__tablename__ = "tarot_hr_insights"
id = Column(Integer, primary_key=True, index=True)
name = Column(String(100), nullable=False)
description = Column(Text, nullable=False)
workplace_relationship_interpretation = Column(Text, nullable=False)
career_interpretation = Column(Text, nullable=False)
class TarotHRGroupInsights(Base):
__tablename__ = "tarot_group_insights"
id = Column(Integer, primary_key=True, index=True)
name = Column(String(100), nullable=False)
description = Column(Text, nullable=False)
workplace_relationship_interpretation = Column(Text, nullable=False)