Release 2.0.9 (#3922)
* fix api definition * include customer number in validation message * fix doctrine deprecation, prepare for DBAL 4 * added DataSubscriberInterface to identify certain doctrine subscribers
This commit is contained in:
@@ -29,20 +29,20 @@ final class Version20190706224211 extends AbstractMigration
|
||||
public function up(Schema $schema): void
|
||||
{
|
||||
$timesheetMeta = $schema->getTable('kimai2_timesheet_meta');
|
||||
$timesheetMeta->changeColumn('visible', ['notnull' => true, 'default' => false]);
|
||||
$timesheetMeta->changeColumn('timesheet_id', ['notnull' => true]);
|
||||
$timesheetMeta->modifyColumn('visible', ['notnull' => true, 'default' => false]);
|
||||
$timesheetMeta->modifyColumn('timesheet_id', ['notnull' => true]);
|
||||
|
||||
$projectMeta = $schema->getTable('kimai2_projects_meta');
|
||||
$projectMeta->changeColumn('visible', ['notnull' => true, 'default' => false]);
|
||||
$projectMeta->changeColumn('project_id', ['notnull' => true]);
|
||||
$projectMeta->modifyColumn('visible', ['notnull' => true, 'default' => false]);
|
||||
$projectMeta->modifyColumn('project_id', ['notnull' => true]);
|
||||
|
||||
$customerMeta = $schema->getTable('kimai2_customers_meta');
|
||||
$customerMeta->changeColumn('visible', ['notnull' => true, 'default' => false]);
|
||||
$customerMeta->changeColumn('customer_id', ['notnull' => true]);
|
||||
$customerMeta->modifyColumn('visible', ['notnull' => true, 'default' => false]);
|
||||
$customerMeta->modifyColumn('customer_id', ['notnull' => true]);
|
||||
|
||||
$activityMeta = $schema->getTable('kimai2_activities_meta');
|
||||
$activityMeta->changeColumn('visible', ['notnull' => true, 'default' => false]);
|
||||
$activityMeta->changeColumn('activity_id', ['notnull' => true]);
|
||||
$activityMeta->modifyColumn('visible', ['notnull' => true, 'default' => false]);
|
||||
$activityMeta->modifyColumn('activity_id', ['notnull' => true]);
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
|
||||
Reference in New Issue
Block a user