From b284fe7f2b706ff682684a14fcfe4bb3e8365b75 Mon Sep 17 00:00:00 2001
From: Oliver Walters <oliver.henry.walters@gmail.com>
Date: Wed, 3 Feb 2021 15:15:49 +1100
Subject: [PATCH] Remove quotes around column names

(cherry picked from commit 386cb2dd3ac03de49b037e171109cf124001a030)
---
 InvenTree/company/migrations/0019_auto_20200413_0642.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/InvenTree/company/migrations/0019_auto_20200413_0642.py b/InvenTree/company/migrations/0019_auto_20200413_0642.py
index 2bd059edb9..fe35311201 100644
--- a/InvenTree/company/migrations/0019_auto_20200413_0642.py
+++ b/InvenTree/company/migrations/0019_auto_20200413_0642.py
@@ -165,7 +165,7 @@ def associate_manufacturers(apps, schema_editor):
 
         # Manually create a new database row
         # Note: Have to fill out all empty string values!
-        new_manufacturer_query = f"insert into company_company ('name', 'description', 'is_customer', 'is_supplier', 'is_manufacturer', 'address', 'website', 'phone', 'email', 'contact', 'link', 'notes') values ('{company_name}', '{company_name}', false, false, true, '', '', '', '', '', '', '');"
+        new_manufacturer_query = f"insert into company_company (name, description, is_customer, is_supplier, is_manufacturer, address, website, phone, email, contact, link, notes) values ('{company_name}', '{company_name}', false, false, true, '', '', '', '', '', '', '');"
 
         cursor = connection.cursor()