fix: Correct SQL values formatting in invoice types seed data
This commit is contained in:
@@ -192,7 +192,7 @@ def upgrade() -> None:
|
||||
|
||||
values_it = ", ".join(
|
||||
[
|
||||
f"('{key}', '{desc.replace(chr(39), chr(39)*2)}', '{note.replace(chr(39), chr(39)*2)}', '{type.replace(chr(39), chr(39)*2)}'), '{operation.replace(chr(39), chr(39)*2)}')"
|
||||
f"('{key}', '{desc.replace(chr(39), chr(39)*2)}', '{note.replace(chr(39), chr(39)*2)}', '{type.replace(chr(39), chr(39)*2)}', '{operation.replace(chr(39), chr(39)*2)}')"
|
||||
for key, desc, note, type, operation in invoice_types_seed
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user