aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Migration/Attributes/IndexType.php
blob: 45c88d810419218bfc7401ae068b6e3505094258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Migration\Attributes;

/**
 * type of index
 *
 * @since 30.0.0
 */
enum IndexType : string {
	/** @since 30.0.0 */
	case PRIMARY = 'primary';
	/** @since 30.0.0 */
	case INDEX = 'index';
	/** @since 30.0.0 */
	case UNIQUE = 'unique';
}