mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove quotes around column names
This commit is contained in:
parent
79ddea50f5
commit
386cb2dd3a
@ -158,7 +158,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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user