Changeset 46 for trunk/SQL/Updates/40.sql
- Timestamp:
- Jul 27, 2014, 9:05:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SQL/Updates/40.sql
r40 r46 1 RENAME TABLE ` Measure2` TO `Measure`1 RENAME TABLE `measure` TO `Measure` 2 2 ALTER TABLE `Measure` ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; 3 3 … … 89 89 ALTER TABLE `MeasureGroup` CHANGE `Parent` `Parent` INT( 11 ) NULL ; 90 90 91 ALTER TABLE `Measure` ADD `Group` INT N OT NULL AFTER `Id` ;91 ALTER TABLE `Measure` ADD `Group` INT NULL AFTER `Id` ; 92 92 ALTER TABLE `Measure` ADD INDEX ( `Group` ) ; 93 93 ALTER TABLE `Measure` ADD FOREIGN KEY ( `Group` ) REFERENCES `MeasureGroup` ( `Id` ); 94 94 ALTER TABLE `Measure` DROP `OldName` ; 95 ALTER TABLE `Measure` 95 ALTER TABLE `Measure` DROP `PermissionView`, DROP `PermissionAdd`; 96 96 97 97 ALTER TABLE `Measure` CHANGE `Name` `Name` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
Note:
See TracChangeset
for help on using the changeset viewer.