💾 Add missing migrations

This commit is contained in:
gamonoid
2017-09-20 05:34:51 +02:00
parent 69d40ec2da
commit e506c1d7a1
3 changed files with 23 additions and 13 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace Classes\Migration;
class v20170918_200000_add_attendance_image_out extends AbstractMigration{
public function up(){
$sql = <<<'SQL'
Alter table Attendance add column `image_out` longtext default null;
SQL;
return $this->executeQuery($sql);
}
public function down(){
$sql = <<<'SQL'
Alter table Attendance drop column `image_out`;
SQL;
return $this->executeQuery($sql);
}
}