瀏覽代碼

Schema Class: Update compatibility with timestamptz field types.

Nate 6 年之前
父節點
當前提交
a1c9622c46
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      resources/classes/schema.php

+ 2 - 0
resources/classes/schema.php

@@ -685,6 +685,8 @@ if (!class_exists('schema')) {
 																		//field type has not changed
 																	} elseif ($db_field_type = "timestamp without time zone" && strtolower($field_type) == "datetime") {
 																		//field type has not changed
+																	} elseif ($db_field_type = "timestamp with time zone" && strtolower($field_type) == "timestamptz") {
+																		//field type has not changed
 																	} elseif ($db_field_type = "integer" && strtolower($field_type) == "numeric") {
 																		//field type has not changed
 																	} elseif ($db_field_type = "character" && strtolower($field_type) == "char") {