Update schema.php
This commit is contained in:
parent
c43c1a556f
commit
212cd7d025
|
|
@ -349,11 +349,11 @@ if (!class_exists('schema')) {
|
|||
//database create table
|
||||
public function db_create_table ($apps, $db_type, $table) {
|
||||
if (is_array($apps)) foreach ($apps as $x => &$app) {
|
||||
if (is_array($app['db']) foreach ($app['db'] as $y => $row) {
|
||||
if (is_array($app['db'])) foreach ($app['db'] as $y => $row) {
|
||||
if ($row['table'] == $table) {
|
||||
$sql = "CREATE TABLE " . $row['table'] . " (\n";
|
||||
$field_count = 0;
|
||||
if (is_array($row['fields']) foreach ($row['fields'] as $field) {
|
||||
if (is_array($row['fields'])) foreach ($row['fields'] as $field) {
|
||||
if ($field['deprecated'] == "true") {
|
||||
//skip this row
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue