2020-04-02 00:02:51 +02:00
|
|
|
<?php
|
|
|
|
|
2022-11-18 18:06:46 +01:00
|
|
|
namespace Core\Driver\SQL\Constraint;
|
2020-04-02 00:02:51 +02:00
|
|
|
|
|
|
|
class PrimaryKey extends Constraint {
|
|
|
|
|
|
|
|
public function __construct(...$names) {
|
|
|
|
parent::__construct((!empty($names) && is_array($names[0])) ? $names[0] : $names);
|
|
|
|
}
|
|
|
|
|
2020-04-03 17:39:58 +02:00
|
|
|
}
|