Page MenuHomePhorge

2023_04_11_100000_plan_packages_cost_default.php
No OneTemporary

Authored By
Unknown
Size
745 B
Referenced Files
None
Subscribers
None

2023_04_11_100000_plan_packages_cost_default.php

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
/**
* Run the migrations.
*/
public function up()
{
Schema::table(
'package_skus',
static function (Blueprint $table) {
$table->integer('cost')->default(null)->nullable()->change();
}
);
}
/**
* Reverse the migrations.
*/
public function down()
{
Schema::table(
'package_skus',
static function (Blueprint $table) {
$table->integer('cost')->default(0)->nullable()->change();
}
);
}
};

File Metadata

Mime Type
text/x-php
Expires
Sat, Apr 4, 2:47 AM (4 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18822282
Default Alt Text
2023_04_11_100000_plan_packages_cost_default.php (745 B)

Event Timeline