label is already stored in the options, and never used directly in any method. Code that wants it can instanciate an object
This commit is contained in:
parent
ac28252d53
commit
72177f762c
3 changed files with 21 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ my $session = start(); # this line required
|
|||
# upgrade functions go here
|
||||
|
||||
insertCommerceTaxTable($session);
|
||||
insertCommerceShipDriverTable($session);
|
||||
migrateToNewCart($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
|
@ -71,6 +72,23 @@ EOSQL
|
|||
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub insertCommerceShipDriverTable {
|
||||
my $session = shift;
|
||||
print "\tInstall the Commerce ShipperDriver Table.\n" unless ($quiet);
|
||||
# and here's our code
|
||||
$session->db->write(<<EOSQL);
|
||||
|
||||
CREATE TABLE shipper (
|
||||
shipperId VARCHAR(22) binary NOT NULL,
|
||||
className VARCHAR(255),
|
||||
options mediumtext,
|
||||
PRIMARY KEY (shipperId)
|
||||
)
|
||||
EOSQL
|
||||
|
||||
}
|
||||
|
||||
|
||||
# --------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue