peliprint/database/migrations/2023_04_08_160505_create_blueprint_table.php

40 lines
1,001 B
PHP
Raw Normal View History

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Migrations\Migration;
class CreateBlueprintTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::dropIfExists('blueprint');
Schema::create('blueprint', function (Blueprint $table) {
$table->id();
2023-04-09 15:15:11 -04:00
2023-07-12 05:12:09 -04:00
$table->string('placeholder')->nullable();
$table->string('developer')->nullable();
2023-04-11 14:47:38 -04:00
$table->string('telemetry')->nullable();
$table->string('panel:id')->nullable();
$table->string('version:cache')->nullable();
$table->string('notification:text')->nullable();
$table->timestamp('timestamp')->useCurrent()->onUpdate(null);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('blueprint');
}
}