mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
Update boswatch.sql
Add error-handling: Rename existing columns from old versions to new (correct) spelling.
This commit is contained in:
parent
cd80d7760d
commit
cf3ae2d6dc
|
|
@ -73,6 +73,10 @@ CREATE TABLE IF NOT EXISTS `bos_pocsag` (
|
|||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MYISAM DEFAULT CHARSET=UTF8 AUTO_INCREMENT=1;
|
||||
|
||||
-- rename old columns including little error-prevention
|
||||
ALTER IGNORE TABLE `bos_pocsag` change `funktion` `function` INT(1);
|
||||
ALTER IGNORE TABLE `bos_pocsag` change `funktionChar` `functionChar` TEXT(1);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
|
|
|||
Loading…
Reference in a new issue