[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [task #12878] Include the EKG model to core
From: |
Cédric Krier |
Subject: |
[Health-dev] [task #12878] Include the EKG model to core |
Date: |
Mon, 08 Jun 2015 06:17:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; OpenBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #2, task #12878 (project health):
You should not write raw SQL queries in __register__
To add column, you shoud use the TableHandler.add_raw_column.
For update query, you should write a python-sql query.
To drop constraint, you should use Table.Handler.drop_constraint.
Otherwise the code will not work independently of the database backend.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/task/?12878>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/