💾 Add missing migrations
This commit is contained in:
22
migrations/v20170918_200000_add_attendance_image_out.php
Normal file
22
migrations/v20170918_200000_add_attendance_image_out.php
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user