web-base/core/Driver/SQL/Column/SerialColumn.class.php

11 lines
217 B
PHP
Raw Normal View History

2020-04-02 00:02:51 +02:00
<?php
namespace Driver\SQL\Column;
class SerialColumn extends Column {
2021-04-02 21:58:06 +02:00
public function __construct(string $name, $defaultValue = NULL) {
2020-04-02 00:02:51 +02:00
parent::__construct($name, false, $defaultValue); # not nullable
}
2020-04-03 17:39:58 +02:00
}