1
0

support IPv6 lengths

This commit is contained in:
Garvin Hicking
2007-05-02 08:56:17 +00:00
parent c367fbf6ab
commit 3e92cb82e4
6 changed files with 21 additions and 3 deletions

View File

@ -0,0 +1,13 @@
ALTER TABLE {PREFIX}comments ADD COLUMN oldip varchar(64);
UPDATE {PREFIX}comments SET oldip = ip;
ALTER TABLE {PREFIX}comments DROP ip;
ALTER TABLE {PREFIX}comments ADD COLUMN ip varchar(64);
UPDATE {PREFIX}comments SET ip = oldip;
ALTER TABLE {PREFIX}comments DROP COLUMN oldip;
ALTER TABLE {PREFIX}suppress ADD COLUMN oldip varchar(64);
UPDATE {PREFIX}suppress SET oldip = ip;
ALTER TABLE {PREFIX}suppress DROP ip;
ALTER TABLE {PREFIX}suppress ADD COLUMN ip varchar(64);
UPDATE {PREFIX}suppress SET ip = oldip;
ALTER TABLE {PREFIX}suppress DROP COLUMN oldip;