|
| 1 | +<?php |
| 2 | + |
| 3 | +namespace Toramanlis\ImplicitMigrations\Attributes; |
| 4 | + |
| 5 | +abstract class ColumnAlias extends Column |
| 6 | +{ |
| 7 | + protected const TYPE = null; |
| 8 | + |
| 9 | + public function __construct( |
| 10 | + protected ?string $name = null, |
| 11 | + protected ?bool $nullable = null, |
| 12 | + protected $default = null, |
| 13 | + protected ?int $length = null, |
| 14 | + protected ?bool $unsigned = null, |
| 15 | + protected ?bool $autoIncrement = null, |
| 16 | + protected ?int $precision = null, |
| 17 | + protected ?int $total = null, |
| 18 | + protected ?int $places = null, |
| 19 | + protected ?array $allowed = null, |
| 20 | + protected ?bool $fixed = null, |
| 21 | + protected ?string $subtype = null, |
| 22 | + protected ?int $srid = null, |
| 23 | + protected ?string $expression = null, |
| 24 | + protected ?string $collation = null, |
| 25 | + protected ?string $comment = null, |
| 26 | + protected ?string $virtualAs = null, |
| 27 | + protected ?string $storedAs = null, |
| 28 | + protected ?string $after = null |
| 29 | + ) { |
| 30 | + parent::__construct( |
| 31 | + static::TYPE, |
| 32 | + $name, |
| 33 | + $nullable, |
| 34 | + $default, |
| 35 | + $length, |
| 36 | + $unsigned, |
| 37 | + $autoIncrement, |
| 38 | + $precision, |
| 39 | + $total, |
| 40 | + $places, |
| 41 | + $allowed, |
| 42 | + $fixed, |
| 43 | + $subtype, |
| 44 | + $srid, |
| 45 | + $expression, |
| 46 | + $collation, |
| 47 | + $comment, |
| 48 | + $virtualAs, |
| 49 | + $storedAs, |
| 50 | + $after |
| 51 | + ); |
| 52 | + } |
| 53 | +} |
0 commit comments