SQL, upgrade: increase session table ip field size for IPv6 addresses

Commit 84d06edb06 introduced IPv6 support on SQL session table but
failed at providing upgrade SQL scripts, this commit fixes it.

Fixes: 84d06edb06 ("IPv6 Compatability")
Signed-off-by: Sylvain Rochet <gradator@gradator.net>
pull/5465/head
Sylvain Rochet 8 years ago
parent 4936159f31
commit 492b181d51

@ -0,0 +1,2 @@
ALTER TABLE [dbo].[session] ALTER COLUMN [ip] [varchar] (40) COLLATE Latin1_General_CI_AI NOT NULL
GO

@ -0,0 +1 @@
ALTER TABLE `session` MODIFY `ip` varchar(40) NOT NULL;

@ -0,0 +1 @@
ALTER TABLE session MODIFY ip varchar(41) NOT NULL;

@ -0,0 +1 @@
ALTER TABLE session ALTER COLUMN ip TYPE character varying(41);
Loading…
Cancel
Save