afc11be50b
This has some changes that may break the configuration page of the "Blueprint" extension. This will be fixed in a future commit.
38 lines
No EOL
914 B
PHP
38 lines
No EOL
914 B
PHP
<?php
|
|
|
|
// 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.
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class CreateKey extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('bpkey', function (Blueprint $table) {
|
|
$table->id();
|
|
$table->string('k')->nullable();
|
|
$table->boolean('v')->nullable();
|
|
$table->timestamp('timestamp')->useCurrent()->onUpdate(null);
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('bpkey');
|
|
}
|
|
} |