Update schema.php
This commit is contained in:
@@ -143,7 +143,6 @@ if (!class_exists('schema')) {
|
|||||||
|
|
||||||
//check if a column exists
|
//check if a column exists
|
||||||
public function column_exists ($db_name, $table_name, $column_name) {
|
public function column_exists ($db_name, $table_name, $column_name) {
|
||||||
global $display_type;
|
|
||||||
|
|
||||||
if ($this->db_type == "sqlite") {
|
if ($this->db_type == "sqlite") {
|
||||||
$table_info = $this->table_info($db_name, $table_name);
|
$table_info = $this->table_info($db_name, $table_name);
|
||||||
@@ -305,7 +304,6 @@ if (!class_exists('schema')) {
|
|||||||
|
|
||||||
//database column exists
|
//database column exists
|
||||||
private function db_column_exists ($db_type, $db_name, $table_name, $column_name) {
|
private function db_column_exists ($db_type, $db_name, $table_name, $column_name) {
|
||||||
global $display_type;
|
|
||||||
|
|
||||||
if ($db_type == "sqlite") {
|
if ($db_type == "sqlite") {
|
||||||
$table_info = $this->db_table_info($db_name, $db_type, $table_name);
|
$table_info = $this->db_table_info($db_name, $db_type, $table_name);
|
||||||
|
|||||||
Reference in New Issue
Block a user