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

11 lines
222 B
PHP

<?php
namespace Core\Driver\SQL\Column;
class SerialColumn extends Column {
public function __construct(string $name, $defaultValue = NULL) {
parent::__construct($name, false, $defaultValue); # not nullable
}
}