Removed site_id from the maps table, since the it already references site_area_id which fully qualifies the site anyway.

git-svn-id: file:///svn-source/pmgr/branches/initial_20090526@26 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-05-28 11:09:19 +00:00
parent e38e99c94e
commit ec3d986c78

View File

@@ -957,7 +957,6 @@ CREATE TABLE `pmgr_charges_receipts` (
DROP TABLE IF EXISTS `pmgr_maps`;
CREATE TABLE `pmgr_maps` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`site_id` INT(10) UNSIGNED NOT NULL,
`site_area_id` INT(10) UNSIGNED NOT NULL,
`name` VARCHAR(80) DEFAULT NULL,
`comment` VARCHAR(255) DEFAULT NULL,
@@ -965,7 +964,6 @@ CREATE TABLE `pmgr_maps` (
`width` SMALLINT UNSIGNED NOT NULL, -- inches
`depth` SMALLINT UNSIGNED NOT NULL, -- inches
UNIQUE KEY `map_key` (`site_id`, `site_area_id`),
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;