diff options
-rw-r--r-- | index.php | 4 | ||||
-rw-r--r-- | schemas/anu10.yaml | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -19,8 +19,8 @@ function __autoload($class) { // Test database connection. $schema = Spyc::YAMLLoad('schemas/anu10.yaml'); -//$db = new MaleteDb($schema); -$db = new PhpIsisDb($schema); +$db = new MaleteDb($schema); +//$db = new PhpIsisDb($schema); if ($db) { $result = $db->read(1); //$result = $db->rows(); diff --git a/schemas/anu10.yaml b/schemas/anu10.yaml index 77d7c61..630135b 100644 --- a/schemas/anu10.yaml +++ b/schemas/anu10.yaml @@ -14,6 +14,7 @@ fields: name: Assuntos primarios 6: name: Assuntos secundarios + repeat: Yes 7: name: Ilustrado 8: @@ -24,6 +25,7 @@ fields: name: Arquivo digital 11: name: Forma documento + repeat: Yes 12: name: Local de publicacao 13: |