Explorar o código

upgrade_2-0_postgresql isn't used when upgrading from 2.0...

Michael Eshom %!s(int64=10) %!d(string=hai) anos
pai
achega
d11c0b343c
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      other/upgrade_2-1_postgresql.sql

+ 7 - 0
other/upgrade_2-1_postgresql.sql

@@ -533,4 +533,11 @@ CREATE TABLE {$db_prefix}qanda (
 		");
 	}
 ---}
+---#
+
+/******************************************************************************/
+--- Fixing log_online table
+/******************************************************************************/
+---# Changing ip to bigint
+ALTER TABLE {$db_prefix}log_online ALTER ip TYPE bigint;
 ---#