Set the schema return type

- Remove deprecated comments
This commit is contained in:
markjcrane
2025-11-19 14:22:27 -07:00
parent f8de76762f
commit 8063ae9ceb

View File

@@ -97,8 +97,6 @@ class schema {
}
}
//create the database schema
/**
* Generate SQL statements for creating tables.
*
@@ -163,8 +161,6 @@ class schema {
}
}
//add the database schema
/**
* Executes the SQL queries in the result array.
*
@@ -189,9 +185,7 @@ class schema {
}
}
//check if a column exists
/**
/**
* Generates the schema for the provided applications.
*
* This method iterates through the application configurations and database
@@ -200,7 +194,7 @@ class schema {
*
* @param string $format The output format (default: '').
*
* @return void
* @return string
*/
public function schema($format = '') {
@@ -658,8 +652,6 @@ class schema {
}
//get the table information
/**
* Checks if a table exists in the database.
*
@@ -689,8 +681,6 @@ class schema {
}
}
//database table exists
/**
* Check if a column exists in the specified table.
*
@@ -750,8 +740,6 @@ class schema {
}
}
//database type
/**
* Retrieves table information.
*
@@ -782,8 +770,6 @@ class schema {
return $prep_statement->fetchAll(PDO::FETCH_ASSOC);
}
//sqlite column exists
/**
* Checks if a column exists in the provided table information.
*
@@ -804,8 +790,6 @@ class schema {
return false;
}
//database column data type
/**
* Creates a table based on the provided app and table name.
*
@@ -869,8 +853,6 @@ class schema {
}
}
//database create table
/**
* Returns the data type of a column.
*
@@ -887,8 +869,6 @@ class schema {
return $this->data_type($table_info, $column_name);
}
//database insert
/**
* Retrieves the data type of a column in the database.
*
@@ -924,8 +904,6 @@ class schema {
}
}
//datatase schema
/**
* Inserts data from temporary tables into a specified database table.
*