Skip to content

Instantly share code, notes, and snippets.

@ovnicraft
Created June 22, 2020 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ovnicraft/4cc6e19074cc8636b34ddfbbcccd0e73 to your computer and use it in GitHub Desktop.
Save ovnicraft/4cc6e19074cc8636b34ddfbbcccd0e73 to your computer and use it in GitHub Desktop.
bad query: INSERT INTO "account_momentospresupuestales" ("id", "mir_id", "directo", "tipogasto_id", "accountmove_id", "fuentefinanciamiento_origen_id", "fechaaplicacion", "unidadresponsable_id", "crossoveredbudget_id", "ejercicio_id", "fuentefinanciamiento_id", "comprometido", "purchase_estructura_contable_id", "res_id", "model_id", "periodo_id", "departamento_id", "destino_id", "purchase_order_id", "programa_id", "partidas_id", "programapresupuestario_id", "subfunciongasto_id", "requisition", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval('account_momentospresupuestales_id_seq'), 20740, false, 10334, 100558, 816, '2020-06-22', 20785, 6, 58, 808, 52.2, 2863, 239, 337, 28, 1898, 20904, 239, 17430, 7427, 21568, 22366, 431, 1, 1, (now() at time zone 'UTC'), (now() at time zone 'UTC')) RETURNING id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment