diff --git a/library/Reporting/Model/Schedule.php b/library/Reporting/Model/Schedule.php index 7f73aad8..6100d2a4 100644 --- a/library/Reporting/Model/Schedule.php +++ b/library/Reporting/Model/Schedule.php @@ -26,8 +26,6 @@ public function getColumns() return [ 'report_id', 'author', - 'start', - 'frequency', 'action', 'config', 'ctime', @@ -38,7 +36,6 @@ public function getColumns() public function createBehaviors(Behaviors $behaviors) { $behaviors->add(new MillisecondTimestamp([ - 'start', 'ctime', 'mtime' ])); diff --git a/schema/mysql-migrations/1.0.0.sql b/schema/mysql-migrations/1.0.0.sql new file mode 100644 index 00000000..4351cd48 --- /dev/null +++ b/schema/mysql-migrations/1.0.0.sql @@ -0,0 +1,3 @@ +ALTER TABLE schedule + DROP COLUMN IF EXISTS start, + DROP COLUMN IF EXISTS frequency; diff --git a/schema/pgsql-upgrades/1.0.0.sql b/schema/pgsql-upgrades/1.0.0.sql new file mode 100644 index 00000000..4351cd48 --- /dev/null +++ b/schema/pgsql-upgrades/1.0.0.sql @@ -0,0 +1,3 @@ +ALTER TABLE schedule + DROP COLUMN IF EXISTS start, + DROP COLUMN IF EXISTS frequency;