Pint
This commit is contained in:
+1
-2
@@ -20,12 +20,11 @@ class DenormalizedEolAndAddColumnForExplicitDateToAssets extends Migration
|
||||
{
|
||||
|
||||
Schema::table('companies', function (Blueprint $table) {
|
||||
if (!Schema::hasColumn('companies', 'deleted_at')) {
|
||||
if (! Schema::hasColumn('companies', 'deleted_at')) {
|
||||
$table->softDeletes();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Schema::table('assets', function (Blueprint $table) {
|
||||
if (! Schema::hasColumn('assets', 'eol_explicit')) {
|
||||
$table->boolean('eol_explicit')->default(false)->after('asset_eol_date');
|
||||
|
||||
Reference in New Issue
Block a user