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 dfeedd8 commit 126fc5d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ public function up(): void
$table->boolean('closed')->default(0);
$table->boolean('completed')->default(0);
$table->boolean('cron')->default(0)->index();
$table->boolean('duplicate')->default(0);
$table->boolean('fixed')->default(0);
$table->boolean('flagged')->default(0);
$table->boolean('internal')->default(0);
Expand Down
15 changes: 14 additions & 1 deletion src/Models/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
* @property bool $closed
* @property bool $completed
* @property bool $cron
* @property bool $duplicate
* @property bool $fixed
* @property bool $flagged
* @property bool $internal
Expand Down Expand Up @@ -159,6 +158,7 @@ class Project extends Model
'postponed_at' => null,
'published_at' => null,
'released_at' => null,
'resolved_at' => null,
'resumed_at' => null,
'suspended_at' => null,
'gids' => 0,
Expand Down Expand Up @@ -188,13 +188,17 @@ class Project extends Model
'closed' => false,
'completed' => false,
'cron' => false,
'fixed' => false,
'flagged' => 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 @@ -258,6 +262,7 @@ class Project extends Model
'postponed_at',
'published_at',
'released_at',
'resolved_at',
'resumed_at',
'suspended_at',
'gids',
Expand Down Expand Up @@ -293,7 +298,10 @@ class Project extends Model
'pending',
'planned',
'problem',
'published',
'released',
'resolved',
'retired',
'suspended',
'unknown',
'label',
Expand Down Expand Up @@ -344,6 +352,7 @@ protected function casts(): array
'postponed_at' => 'datetime',
'published_at' => 'datetime',
'released_at' => 'datetime',
'resolved_at' => 'datetime',
'resumed_at' => 'datetime',
'suspended_at' => 'datetime',
'gids' => 'integer',
Expand Down Expand Up @@ -373,13 +382,17 @@ protected function casts(): array
'closed' => 'boolean',
'completed' => 'boolean',
'cron' => 'boolean',
'fixed' => 'boolean',
'flagged' => '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

0 comments on commit 126fc5d

Please sign in to comment.