Drop column after migration
issue2362 review210004
This commit is contained in:
1 parent
4d68361b8c
commit
3a8f53e574
1 file changed
+1
-1
+1
-1
@@ -198,7 +198,7 @@ class Invoice(ModelWorkflow, ModelSQL, ModelView):
|
||||
cursor.execute('UPDATE "' + self._table + '" '
|
||||
'SET invoice_report_cache = %s '
|
||||
'WHERE id = %s', (report, invoice_id))
|
||||
table.drop_column('invoice_report')
|
||||
table.drop_column('invoice_report')
|
||||
|
||||
# Add index on create_date
|
||||
table.index_action('create_date', action='add')
|
||||
|
||||
Reference in new issue
Block a user