Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

340 B
Raw Blame
DROP TABLE IF EXISTS `tax_rule`;

CREATE TABLE `tax_rule` (
`tax_rule_id`  INTEGER PRIMARY KEY AUTOINCREMENT,
`tax_type_id` INT NOT NULL,
`tax_rate_id` INT NOT NULL,
`based` TEXT NOT NULL,
`priority` INTEGER NOT NULL DEFAULT '1'
-- PRIMARY KEY (`tax_rule_id`)
);

CREATE INDEX `tax_rule_index` ON `tax_rule` (`tax_type_id`, `tax_rate_id`);