Skip to content

Commit

Permalink
Drop start & frequency columns
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Jul 10, 2023
1 parent 5f18420 commit a9560d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions library/Reporting/Model/Schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public function getColumns()
return [
'report_id',
'author',
'start',
'frequency',
'action',
'config',
'ctime',
Expand All @@ -38,7 +36,6 @@ public function getColumns()
public function createBehaviors(Behaviors $behaviors)
{
$behaviors->add(new MillisecondTimestamp([
'start',
'ctime',
'mtime'
]));
Expand Down
3 changes: 3 additions & 0 deletions schema/mysql-migrations/1.0.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE schedule
DROP COLUMN IF EXISTS start,
DROP COLUMN IF EXISTS frequency;
3 changes: 3 additions & 0 deletions schema/pgsql-upgrades/1.0.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE schedule
DROP COLUMN IF EXISTS start,
DROP COLUMN IF EXISTS frequency;

0 comments on commit a9560d4

Please sign in to comment.