浏览代码

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

Michael Eshom 10 年之前
父节点
当前提交
d11c0b343c
共有 1 个文件被更改,包括 7 次插入0 次删除
  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;
 ---#