Merge pull request #433 from radiorabe/fix/429-ipv6-schema-updates
Fix/429 ipv6 schema updates
This commit is contained in:
commit
efe0aefddc
6 changed files with 20 additions and 4 deletions
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE cc_service_register ALTER COLUMN ip TYPE character varying(18);
|
||||
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE cc_service_register ALTER COLUMN ip TYPE character varying(45);
|
|
@ -39,7 +39,7 @@ class CcServiceRegisterTableMap extends TableMap
|
|||
$this->setUseIdGenerator(false);
|
||||
// columns
|
||||
$this->addPrimaryKey('name', 'DbName', 'VARCHAR', true, 32, null);
|
||||
$this->addColumn('ip', 'DbIp', 'VARCHAR', true, 18, null);
|
||||
$this->addColumn('ip', 'DbIp', 'VARCHAR', true, 45, null);
|
||||
// validators
|
||||
} // initialize()
|
||||
|
||||
|
|
|
@ -518,4 +518,17 @@ class AirtimeUpgrader300alpha1 extends AirtimeUpgrader
|
|||
public function getNewVersion() {
|
||||
return '3.0.0-alpha.1';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class AirtimeUpgrader300alpha6 extends AirtimeUpgrader
|
||||
{
|
||||
protected function getSupportedSchemaVersions() {
|
||||
return array(
|
||||
'3.0.0-alpha.1'
|
||||
);
|
||||
}
|
||||
|
||||
public function getNewVersion() {
|
||||
return '3.0.0-alpha.6';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue