1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-01-30 00:20:12 +01:00

[pep8] Lignes vides entre méthodes dans sqlutils.py

This commit is contained in:
Roland Haroutiounian 2015-07-10 09:02:59 +02:00
commit c6204638fa

View file

@ -84,6 +84,7 @@ def get_table(self):
engine = self.db_engine
return sqla.Table(self.table, meta(engine))
## This function is intended to execute ddl defined in sqlalter
# @warning There is a dirty workaround here, DDL should returns only one query, but DropColumn for sqlite has to return 4 queries (rename, create, insert, drop). There is a split on the compiled SQL to extract and execute one query at a time
# @param ddl DDLElement: Can be an Database.sqlalter.DropColumn Database.sqlalter.AddColumn or Database.sqlalter.AlterColumn