mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-14 18:09:17 +01:00
Suppression d'une variable non utilisée dans la méthode add_field_to_column_table() de EmField
This commit is contained in:
parent
ec69ca5837
commit
0b1f520647
1 changed files with 0 additions and 1 deletions
|
|
@ -96,7 +96,6 @@ class EmField(EmComponent):
|
|||
# @return True in case of success, False if not
|
||||
def add_field_column_to_class_table(self):
|
||||
field_type = "%s%s" % (get_field_type(self.fieldtype).sql_column(), " DEFAULT 0" if self.fieldtype == 'integer' else '')
|
||||
field_uid = self.uid
|
||||
field_class_table = self.get_class_table()
|
||||
return SqlWrapper().addColumn(tname=field_class_table, colname=self.name, coltype=field_type)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue