Skip to content

Commit

Permalink
chore: Add constants for column types
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Mar 4, 2024
1 parent fb189a2 commit 67948ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Db/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
* @method setDatetimeDefault(?string $datetimeDefault)
*/
class Column extends Entity implements JsonSerializable {
public const TYPE_SELECTION = 'selection';
public const TYPE_TEXT = 'text';
public const TYPE_NUMBER = 'number';
public const TYPE_DATETIME = 'datetime';

protected ?string $title = null;
protected ?int $tableId = null;
protected ?string $createdBy = null;
Expand Down

0 comments on commit 67948ab

Please sign in to comment.