Skip to content

Instantly share code, notes, and snippets.

@ovnicraft
Created October 31, 2019 20:48
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/89a64c216cb9e9a180e427a420ccd32f to your computer and use it in GitHub Desktop.
Save ovnicraft/89a64c216cb9e9a180e427a420ccd32f to your computer and use it in GitHub Desktop.
-- DDL generated by Postico 1.5.6
-- Not all database features are supported. Do not use for backup.
-- Table Definition ----------------------------------------------
CREATE TABLE wizard_product_update_margin (
id SERIAL PRIMARY KEY,
create_uid integer REFERENCES res_users(id) ON DELETE SET NULL,
write_uid integer REFERENCES res_users(id) ON DELETE SET NULL,
create_date timestamp without time zone,
write_date timestamp without time zone,
margin_c double precision,
margin_b double precision,
margin_a double precision
);
COMMENT ON TABLE wizard_product_update_margin IS 'wizard.product.update.margin';
COMMENT ON COLUMN wizard_product_update_margin.create_uid IS 'Created by';
COMMENT ON COLUMN wizard_product_update_margin.write_uid IS 'Last Updated by';
COMMENT ON COLUMN wizard_product_update_margin.create_date IS 'Created on';
COMMENT ON COLUMN wizard_product_update_margin.write_date IS 'Last Updated on';
COMMENT ON COLUMN wizard_product_update_margin.margin_c IS 'Margen C';
COMMENT ON COLUMN wizard_product_update_margin.margin_b IS 'Margen B';
COMMENT ON COLUMN wizard_product_update_margin.margin_a IS 'Margen A';
-- Indices -------------------------------------------------------
CREATE UNIQUE INDEX wizard_product_update_margin_pkey ON wizard_product_update_margin(id int4_ops);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment