mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 17:30:59 +01:00
Minor, completely remove references to PHID from schema patches so upgrade-from-scratch works.
This commit is contained in:
parent
2f138d0501
commit
f6fbe40bd5
3 changed files with 1 additions and 48 deletions
|
@ -389,37 +389,6 @@ CREATE TABLE `metamta_mailinglist` (
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
USE `{$NAMESPACE}_phid`;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `phid`;
|
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
|
||||||
CREATE TABLE `phid` (
|
|
||||||
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
|
||||||
`phid` varchar(64) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
|
|
||||||
`phidType` varchar(4) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT NULL,
|
|
||||||
`parentPHID` varchar(64) DEFAULT NULL,
|
|
||||||
`ownerPHID` varchar(64) DEFAULT NULL,
|
|
||||||
`dateCreated` int(10) unsigned NOT NULL,
|
|
||||||
`dateModified` int(10) unsigned NOT NULL,
|
|
||||||
PRIMARY KEY (`id`),
|
|
||||||
UNIQUE KEY `phid` (`phid`)
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `phid_type`;
|
DROP TABLE IF EXISTS `phid_type`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
DROP TABLE {$NAMESPACE}_phid.phid_type;
|
/* This database was later removed entirely. */
|
|
@ -682,22 +682,6 @@ ALTER TABLE `{$NAMESPACE}_pastebin`.`pastebin_paste`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ALTER DATABASE `{$NAMESPACE}_phid` COLLATE utf8_general_ci;
|
|
||||||
|
|
||||||
ALTER TABLE `{$NAMESPACE}_phid`.`phid`
|
|
||||||
MODIFY `phid` varchar(64) CHARACTER SET binary,
|
|
||||||
MODIFY `phidType` varchar(4) CHARACTER SET binary,
|
|
||||||
MODIFY `parentPHID` varchar(64) CHARACTER SET binary,
|
|
||||||
MODIFY `ownerPHID` varchar(64) CHARACTER SET binary;
|
|
||||||
ALTER TABLE `{$NAMESPACE}_phid`.`phid`
|
|
||||||
COLLATE utf8_general_ci,
|
|
||||||
MODIFY `phid` varchar(64) COLLATE utf8_bin NOT NULL,
|
|
||||||
MODIFY `phidType` varchar(4) COLLATE utf8_bin,
|
|
||||||
MODIFY `parentPHID` varchar(64) COLLATE utf8_general_ci,
|
|
||||||
MODIFY `ownerPHID` varchar(64) COLLATE utf8_general_ci;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ALTER DATABASE `{$NAMESPACE}_phriction` COLLATE utf8_general_ci;
|
ALTER DATABASE `{$NAMESPACE}_phriction` COLLATE utf8_general_ci;
|
||||||
|
|
||||||
ALTER TABLE `{$NAMESPACE}_phriction`.`phriction_content`
|
ALTER TABLE `{$NAMESPACE}_phriction`.`phriction_content`
|
||||||
|
|
Loading…
Reference in a new issue