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/