Skip to content
Francesco Bianco edited this page Oct 22, 2015 · 1 revision

Method: Javanile\SchemaDB\Database::alter( array $schema ) : array

Description

$db->apply(array(
  'Table_1' => array(
     'Filed_1' => 'notation',
     'Filed_2' => 'notation',
     .
     .
     'Filed_N' => 'notation',
  ),
  'Table_2' => array(
     'Filed_1' => 'notation',
     'Filed_2' => 'notation',
     .
     .
     'Filed_N' => 'notation',
  ),
  .
  .
  'Table_N' => array(
     'Filed_1' => 'notation',
     'Filed_2' => 'notation',
     .
     .
     'Filed_N' => 'notation',
  ),
));

Parameters

Return value

See also

Example 1 - Create database from JSON file

$db->apply(array(

));

Example 2 - Create database from INI file

$db->apply(array(

));

Example 3 - Create database from XML file

$db->apply(array(

));