From cd041970257a90f4730dcd49c61ae607fa4e730e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 8 Nov 2021 22:52:40 +0100 Subject: [PATCH] Use DROP COLUMN from SQLite 3.35.0 issue7703 --- trytond/backend/sqlite/table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/backend/sqlite/table.py b/trytond/backend/sqlite/table.py index f8a9d2c564..cb45e7605c 100644 --- a/trytond/backend/sqlite/table.py +++ b/trytond/backend/sqlite/table.py @@ -358,7 +358,7 @@ class TableHandler(TableHandlerInterface): transaction = Transaction() database = transaction.database cursor = transaction.connection.cursor() - if sqlite.sqlite_version_info >= (3, 25, 0): + if sqlite.sqlite_version_info >= (3, 35, 0): cursor.execute('ALTER TABLE %s DROP COLUMN %s' % ( _escape_identifier(self.table_name), _escape_identifier(column_name)))