Update 2021_02_04_150033_add_download_canceled_column_in_downloadable_link_purchased_table.php

Fix For Migrate Rollback
This commit is contained in:
Mohamed Mamdouh 2021-05-31 19:34:39 +02:00 committed by GitHub
parent 5a4ea8db9c
commit fd5634920a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class AddDownloadCanceledColumnInDownloadableLinkPurchasedTable extends Migratio
public function down()
{
Schema::table('downloadable_link_purchased', function (Blueprint $table) {
$table->integer('download_canceled')->default(0);
$table->dropColumn('download_canceled');
});
}
}