Add PHP API to update database tables
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / database / table / column / BigintDatabaseTableColumn.class.php
1 <?php
2 namespace wcf\system\database\table\column;
3
4 /**
5 * Represents a `bigint` database table column.
6 *
7 * @author Matthias Schmidt
8 * @copyright 2001-2019 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package WoltLabSuite\Core\System\Database\Table\Column
11 * @since 5.2
12 */
13 class BigintDatabaseTableColumn extends AbstractIntDatabaseTableColumn {
14 /**
15 * @inheritDoc
16 */
17 protected $type = 'bigint';
18
19 /**
20 * @inheritDoc
21 */
22 public function getMaximumLength() {
23 return 20;
24 }
25
26 /**
27 * @inheritDoc
28 */
29 public function getMaximumUnsignedLength() {
30 return 19;
31 }
32 }