Fix a bug in the upgrade script, with a default applied to the wrong column.
Built the add method, and tested it, too.
This commit is contained in:
parent
649d34f1a7
commit
19591d37d4
3 changed files with 107 additions and 4 deletions
|
|
@ -62,8 +62,8 @@ sub insertCommerceTaxTable {
|
|||
CREATE TABLE tax (
|
||||
taxId VARCHAR(22) binary NOT NULL,
|
||||
field VARCHAR(100) NOT NULL,
|
||||
value VARCHAR(100) DEFAULT 0.0,
|
||||
taxRate FLOAT NOT NULL,
|
||||
value VARCHAR(100),
|
||||
taxRate FLOAT NOT NULL DEFAULT 0.0,
|
||||
PRIMARY KEY (taxId),
|
||||
UNIQUE KEY (field, value)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue