aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php4
-rw-r--r--schemas/anu10.yaml2
2 files changed, 4 insertions, 2 deletions
diff --git a/index.php b/index.php
index f2ff677..f382f22 100644
--- a/index.php
+++ b/index.php
@@ -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: