Skip to content

Instantly share code, notes, and snippets.

@Padam87
Last active July 10, 2018 14:35
Show Gist options
  • Save Padam87/ef41e3e0aa1a2546ce2580f761ef2a7e to your computer and use it in GitHub Desktop.
Save Padam87/ef41e3e0aa1a2546ce2580f761ef2a7e to your computer and use it in GitHub Desktop.
CREATE TABLE `detailed_cost` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`net_amount` BIGINT(20) NOT NULL,
`vat_amount` BIGINT(20) NOT NULL,
`product_fee_amount` BIGINT(20) NOT NULL,
`product_fee_vat_amount` BIGINT(20) NOT NULL,
`coupon_amount` BIGINT(20) NOT NULL,
`shipping_amount` BIGINT(20) NOT NULL,
`service_cost_addresses_amount` BIGINT(20) NOT NULL,
`service_cost_hardproof_amount` BIGINT(20) NOT NULL,
`service_cost_softproof_amount` BIGINT(20) NOT NULL,
`service_cost_exemplar_amount` BIGINT(20) NOT NULL,
`service_cost_postpay_amount` BIGINT(20) NOT NULL,
`service_cost_tool_amount` BIGINT(20) NOT NULL,
`service_cost_other_amount` BIGINT(20) NOT NULL,
`service_cost_design_amount` BIGINT(20) NOT NULL,
`currency` VARCHAR(3) NOT NULL DEFAULT 'HUF' COMMENT '(DC2Type:currency)' COLLATE 'utf8_unicode_ci',
PRIMARY KEY (`id`)
)
COLLATE='utf8_unicode_ci'
ENGINE=InnoDB
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment