MicroFrameWork/kernel/console/migrations/stubs/update.stub
2024-10-17 16:47:04 +03:00

34 lines
615 B
Plaintext

<?php
use core\App;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class DummyClass extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
App::$db->schema->table('DummyTable', function (Blueprint $table) {
//
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
App::$db->schema->table('DummyTable', function (Blueprint $table) {
//
});
}
}