[odrs-web/barthalion/analytic_id: 5/5] test




commit 7f53d27b7a5def41c79201fcc16a1896ee3ef48d
Author: Bartłomiej Piotrowski <b bpiotrowski pl>
Date:   Thu Sep 1 11:39:12 2022 +0200

    test

 odrs/models.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/odrs/models.py b/odrs/models.py
index c4aa93b..84efe22 100644
--- a/odrs/models.py
+++ b/odrs/models.py
@@ -50,8 +50,8 @@ class Analytic(db.Model):
         {"mysql_character_set": "utf8mb4"},
     )
 
-    datestr = Column(Integer, default=0, primary_key=True)
-    app_id = Column(String(128), primary_key=True)
+    datestr = Column(Integer, default=0)
+    app_id = Column(String(128))
     fetch_cnt = Column(Integer, default=1)
     analytic_id = Column(BigInteger, primary_key=True, autoincrement=True, unique=True)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]