feat migrations
: create new migration for cache value
This commit is contained in:
parent
7a047d51b6
commit
e90a15d197
1 changed files with 41 additions and 0 deletions
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
/* BlueprintFramework database migration */
|
||||
|
||||
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::table('blueprint', function (Blueprint $table) {
|
||||
|
||||
/*
|
||||
Database value for keeping imported stylesheets
|
||||
and scripts up-to-date for the end-user by
|
||||
bypassing browser cache.
|
||||
*/
|
||||
$table->string('cache')->nullable();
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('blueprint', function (Blueprint $table) {
|
||||
$table->dropColumn('cache');
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue