Commit
·
75ac719
1
Parent(s):
b5a1241
Add markdown2 dependency
Browse files- api/models.py +2 -2
- templates/chat.html +1 -3
api/models.py
CHANGED
|
@@ -11,8 +11,8 @@ Base = declarative_base()
|
|
| 11 |
# جدول OAuth Accounts لتخزين بيانات تسجيل الدخول الخارجي
|
| 12 |
class OAuthAccount(SQLAlchemyBaseOAuthAccountTable, Base):
|
| 13 |
__tablename__ = "oauth_accounts"
|
| 14 |
-
|
| 15 |
-
|
| 16 |
# نموذج المستخدم
|
| 17 |
class User(SQLAlchemyBaseUserTable, Base):
|
| 18 |
__tablename__ = "users"
|
|
|
|
| 11 |
# جدول OAuth Accounts لتخزين بيانات تسجيل الدخول الخارجي
|
| 12 |
class OAuthAccount(SQLAlchemyBaseOAuthAccountTable, Base):
|
| 13 |
__tablename__ = "oauth_accounts"
|
| 14 |
+
id = Column(Integer, primary_key=True)
|
| 15 |
+
user = relationship("User", back_populates="oauth_accounts")
|
| 16 |
# نموذج المستخدم
|
| 17 |
class User(SQLAlchemyBaseUserTable, Base):
|
| 18 |
__tablename__ = "users"
|
templates/chat.html
CHANGED
|
@@ -20,9 +20,7 @@
|
|
| 20 |
<meta name="twitter:card" content="summary_large_image" />
|
| 21 |
<meta name="twitter:title" content="MGZon Chatbot – AI Assistant" />
|
| 22 |
<meta name="twitter:description" content="Chat with MGZon Chatbot for coding, analysis, and e-commerce queries with text, image, and audio support." />
|
| 23 |
-
<meta name="twitter:image" content="/static/images/mg.svg
|
| 24 |
-
|
| 25 |
-
" />
|
| 26 |
<!-- JSON-LD -->
|
| 27 |
<script type="application/ld+json">
|
| 28 |
{
|
|
|
|
| 20 |
<meta name="twitter:card" content="summary_large_image" />
|
| 21 |
<meta name="twitter:title" content="MGZon Chatbot – AI Assistant" />
|
| 22 |
<meta name="twitter:description" content="Chat with MGZon Chatbot for coding, analysis, and e-commerce queries with text, image, and audio support." />
|
| 23 |
+
<meta name="twitter:image" content="/static/images/mg.svg" />
|
|
|
|
|
|
|
| 24 |
<!-- JSON-LD -->
|
| 25 |
<script type="application/ld+json">
|
| 26 |
{
|