Checkpoint commit and dbupgrade 7
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
0004 - Added BankProfile tables and stored procs to insert/update. [Rick Falkvinge]
|
||||
0005 - Changed PostalCodeLength for NO DK to 4; for GH to zero; added Country.Currency. [Rick Falkvinge]
|
||||
0006 - Added Memberships.LocalNumber and .FamilyNumber; added CurrencyExchangeRate tables/procs. [Rick Falkvinge]
|
||||
|
||||
0007 - NL update; added Lat/Long to PostalCodes and to People, indexed [RF]
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
UPDATE `Countries` SET `CurrencyCode`='EUR', `PostalCodeLength`='6' WHERE `CountryCode`='NL'
|
||||
|
||||
#
|
||||
|
||||
ALTER TABLE `PostalCodes`
|
||||
CHANGE COLUMN `Lat` `Latitude` DOUBLE NOT NULL DEFAULT 0.0 ,
|
||||
CHANGE COLUMN `Long` `Longitude` DOUBLE NOT NULL DEFAULT 0.0
|
||||
|
||||
#
|
||||
|
||||
ALTER TABLE `People`
|
||||
ADD COLUMN `Latitude` DOUBLE NOT NULL DEFAULT 0.0 AFTER `GeographyId`,
|
||||
ADD COLUMN `Longitude` DOUBLE NOT NULL DEFAULT 0.0 AFTER `Latitude`,
|
||||
ADD INDEX `Index_Latitude` (`Latitude` ASC),
|
||||
ADD INDEX `Index_Longitude` (`Longitude` ASC)
|
||||
Reference in New Issue
Block a user