2023-04-05 15:29:58 -04:00
|
|
|
<?php
|
|
|
|
|
2023-04-08 10:13:22 -04:00
|
|
|
// Should not be included in database migrations.
|
|
|
|
// If these files are still here when you downloaded this
|
|
|
|
// and got included in the database migrations, please let
|
|
|
|
// us know.
|
|
|
|
|
2023-04-05 15:29:58 -04:00
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
|
|
|
|
class CreateBlueprintTest extends Migration
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
|
|
|
Schema::create('blueprint', function (Blueprint $table) {
|
|
|
|
$table->id();
|
|
|
|
$table->string('placeholder:1')->nullable();
|
|
|
|
$table->string('placeholder:2')->nullable();
|
|
|
|
$table->string('placeholder:3')->nullable();
|
|
|
|
$table->timestamp('timestamp')->useCurrent()->onUpdate(null);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
|
|
|
Schema::dropIfExists('blueprint');
|
|
|
|
}
|
2023-02-26 08:36:42 -05:00
|
|
|
}
|