add support for the <primary/> element within field definitions
This commit is contained in:
parent
dc272e6e20
commit
b073a34e77
|
@ -138,6 +138,10 @@ class OC_DB_MDB2SchemaReader {
|
|||
$comment = (string)$child;
|
||||
$options['comment'] = $comment;
|
||||
break;
|
||||
case 'primary':
|
||||
$primary = self::asBool($child);
|
||||
$options['primary'] = $primary;
|
||||
break;
|
||||
default:
|
||||
throw new DomainException('Unknown element: '.$child->getName());
|
||||
|
||||
|
|
Loading…
Reference in New Issue