@ -14,6 +14,10 @@ class AddShiftsDescription extends Migration
*/
public function up()
{
if (!$this->schema->hasTable('Shifts')) {
return;
}
$this->schema->table(
'Shifts',
function (Blueprint $table) {
@ -27,6 +31,10 @@ class AddShiftsDescription extends Migration
public function down()
@ -54,6 +54,7 @@ trait HasDatabase
['migration' => '2020_09_12_000000_create_welcome_angel_permissions_group'],
['migration' => '2020_12_28_000000_oauth_set_identifier_binary'],
['migration' => '2021_08_26_000000_add_shirt_edit_permissions'],
['migration' => '2021_10_12_000000_add_shifts_description'],
]
);