Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gammamatrix committed Apr 30, 2024
1 parent 126fc5d commit f796345
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ public function up(): void
$table->dateTime('canceled_at')->nullable();
$table->dateTime('closed_at')->nullable()->index();
$table->dateTime('embargo_at')->nullable();
$table->dateTime('fixed_at')->nullable();
$table->dateTime('postponed_at')->nullable();
$table->dateTime('published_at')->nullable();
$table->dateTime('released_at')->nullable();
$table->dateTime('resolved_at')->nullable();
$table->dateTime('resumed_at')->nullable();
$table->dateTime('suspended_at')->nullable();

Expand Down Expand Up @@ -106,6 +108,7 @@ public function up(): void
$table->boolean('closed')->default(0);
$table->boolean('completed')->default(0);
$table->boolean('cron')->default(0)->index();
$table->boolean('fixed')->default(0);
$table->boolean('flagged')->default(0);
$table->boolean('internal')->default(0);
$table->boolean('locked')->default(0);
Expand All @@ -114,6 +117,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('special')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
19 changes: 19 additions & 0 deletions src/Models/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@
* @property ?Carbon $canceled_at
* @property ?Carbon $closed_at
* @property ?Carbon $embargo_at
* @property ?Carbon $fixed_at
* @property ?Carbon $postponed_at
* @property ?Carbon $published_at
* @property ?Carbon $released_at
* @property ?Carbon $resolved_at
* @property ?Carbon $resumed_at
* @property ?Carbon $suspended_at
* @property int $gids
Expand Down Expand Up @@ -76,13 +78,16 @@
* @property bool $completed
* @property bool $cron
* @property bool $flagged
* @property bool $fixed
* @property bool $internal
* @property bool $locked
* @property bool $pending
* @property bool $planned
* @property bool $problem
* @property bool $published
* @property bool $released
* @property bool $resolved
* @property bool $retired
* @property bool $suspended
* @property bool $unknown
* @property string $label
Expand Down Expand Up @@ -148,9 +153,11 @@ class Release extends Model
'canceled_at' => null,
'closed_at' => null,
'embargo_at' => null,
'fixed_at' => null,
'postponed_at' => null,
'published_at' => null,
'released_at' => null,
'resolved_at' => null,
'resumed_at' => null,
'suspended_at' => null,
'gids' => 0,
Expand Down Expand Up @@ -181,13 +188,16 @@ class Release extends Model
'completed' => false,
'cron' => false,
'flagged' => false,
'fixed' => false,
'internal' => false,
'locked' => false,
'pending' => false,
'planned' => false,
'problem' => false,
'published' => false,
'released' => false,
'resolved' => false,
'retired' => false,
'suspended' => false,
'unknown' => false,
'label' => '',
Expand Down Expand Up @@ -245,9 +255,11 @@ class Release extends Model
'canceled_at',
'closed_at',
'embargo_at',
'fixed_at',
'postponed_at',
'published_at',
'released_at',
'resolved_at',
'resumed_at',
'suspended_at',
'gids',
Expand Down Expand Up @@ -278,13 +290,15 @@ class Release extends Model
'completed',
'cron',
'flagged',
'fixed',
'internal',
'locked',
'pending',
'planned',
'problem',
'published',
'released',
'retired',
'suspended',
'unknown',
'label',
Expand Down Expand Up @@ -329,9 +343,11 @@ protected function casts(): array
'canceled_at' => 'datetime',
'closed_at' => 'datetime',
'embargo_at' => 'datetime',
'fixed_at' => 'datetime',
'postponed_at' => 'datetime',
'published_at' => 'datetime',
'released_at' => 'datetime',
'resolved_at' => 'datetime',
'resumed_at' => 'datetime',
'suspended_at' => 'datetime',
'gids' => 'integer',
Expand Down Expand Up @@ -362,13 +378,16 @@ protected function casts(): array
'completed' => 'boolean',
'cron' => 'boolean',
'flagged' => 'boolean',
'fixed' => 'boolean',
'internal' => 'boolean',
'locked' => 'boolean',
'pending' => 'boolean',
'planned' => 'boolean',
'problem' => 'boolean',
'published' => 'boolean',
'released' => 'boolean',
'resolved' => 'boolean',
'retired' => 'boolean',
'suspended' => 'boolean',
'unknown' => 'boolean',
'label' => 'string',
Expand Down
1 change: 0 additions & 1 deletion src/Models/Roadmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
* @property bool $problem
* @property bool $published
* @property bool $released
* @property bool $resolved
* @property bool $suspended
* @property bool $unknown
* @property string $label
Expand Down
18 changes: 18 additions & 0 deletions src/Models/Source.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,12 @@ class Source extends Model
'canceled_at' => null,
'closed_at' => null,
'embargo_at' => null,
'fixed_at' => null,
'postponed_at' => null,
'published_at' => null,
'released_at' => null,
'resumed_at' => null,
'resolved_at' => null,
'suspended_at' => null,
'gids' => 0,
'po' => 0,
Expand Down Expand Up @@ -158,6 +160,8 @@ class Source extends Model
'closed' => false,
'completed' => false,
'cron' => false,
'duplicate' => false,
'fixed' => false,
'flagged' => false,
'internal' => false,
'locked' => false,
Expand All @@ -166,6 +170,8 @@ class Source extends Model
'problem' => false,
'published' => false,
'released' => false,
'retired' => false,
'resolved' => false,
'suspended' => false,
'unknown' => false,
'label' => '',
Expand Down Expand Up @@ -207,10 +213,12 @@ class Source extends Model
'canceled_at',
'closed_at',
'embargo_at',
'fixed_at',
'postponed_at',
'published_at',
'released_at',
'resumed_at',
'resolved_at',
'suspended_at',
'gids',
'po',
Expand Down Expand Up @@ -239,6 +247,8 @@ class Source extends Model
'closed',
'completed',
'cron',
'duplicate',
'fixed',
'flagged',
'internal',
'locked',
Expand All @@ -247,6 +257,8 @@ class Source extends Model
'problem',
'published',
'released',
'resolved',
'retired',
'suspended',
'unknown',
'label',
Expand Down Expand Up @@ -287,10 +299,12 @@ protected function casts(): array
'canceled_at' => 'datetime',
'closed_at' => 'datetime',
'embargo_at' => 'datetime',
'fixed_at' => 'datetime',
'postponed_at' => 'datetime',
'published_at' => 'datetime',
'released_at' => 'datetime',
'resumed_at' => 'datetime',
'resolved_at' => 'datetime',
'suspended_at' => 'datetime',
'gids' => 'integer',
'po' => 'integer',
Expand Down Expand Up @@ -319,6 +333,8 @@ protected function casts(): array
'closed' => 'boolean',
'completed' => 'boolean',
'cron' => 'boolean',
'duplicate' => 'boolean',
'fixed' => 'boolean',
'flagged' => 'boolean',
'internal' => 'boolean',
'locked' => 'boolean',
Expand All @@ -327,6 +343,8 @@ protected function casts(): array
'problem' => 'boolean',
'published' => 'boolean',
'released' => 'boolean',
'resolved' => 'boolean',
'retired' => 'boolean',
'suspended' => 'boolean',
'unknown' => 'boolean',
'label' => 'string',
Expand Down

0 comments on commit f796345

Please sign in to comment.